native_calls library
The platform's call screen for Calloop calls — CallKit on iOS, the full-screen incoming-call UI and ConnectionService on Android (flutter_callkit_incoming) — and Calloop's call pushes.
- CalloopNativeCalls(agent).attach() in the app: mirror calls ↔ native screen
- CalloopBackground.handlePush(data) in the push handler: show / dismiss
- CalloopBackground.declineCall(...) a Decline tapped while the app isn't running
Classes
- CallkitNativeUi
- CalloopBackground
- CalloopNativeCalls
- CalloopPush
- NativeAction
- Something the user did on the native call screen.
- NativeCallStyle
- How the native call screen looks. Colors are '#rrggbb'.
- NativeCallUi
- NativeIncoming
Enums
- CalloopPushType
- NativeActionType
- NativeRingPolicy
- When to show the native screen for a call that rings while a socket is live.
Functions
-
uuidForCall(
String callId) → String - Calloop's callUuid shape for a call id — only a fallback when a payload has no callUuid; Calloop sends it with every call and push.