showCallkitIncoming directly from native iOS or Android code — for example inside a PushKit VoIP handler — without going through the Dart layer.
Show an incoming call from native code
- Swift
- Kotlin
- Objective-C
Using a dictionary (recommended for VoIP push payloads):Using the typed initialiser:
Native event callbacks (Android)
On Android you can register aCallkitEventCallback in your MainActivity to respond to accept and decline actions directly in Kotlin, before the Flutter engine is fully started.
Sending custom events from native code
You can fire a custom event to the DartonEvent stream from native code. The event will arrive as Event.actionCallCustom in Flutter.
- Swift
- Kotlin
Call events
Full reference for all Dart-side call events including actionCallCustom.
Show incoming call
Configure and display the native incoming call screen from Dart.
