incoming_call_kit 0.0.1
incoming_call_kit: ^0.0.1 copied to clipboard
Native incoming, outgoing & missed call UI for Flutter. Full-screen Activity on Android, CallKit on iOS. SDK-agnostic.
0.0.1 #
- Initial release of
incoming_call_kit. - Incoming calls: Show native full-screen call UI on Android (custom Activity with gradient/solid background, avatar, swipe-to-answer) and CallKit on iOS.
- Outgoing calls:
startCall,setCallConnected,endCall,endAllCallswith ongoing call notifications (Android) and CXStartCallAction (iOS). - Missed call notifications: Custom missed call notifications with "Call Back" action on both platforms.
- Event stream: Unified
onEventstream for all call lifecycle events (accept, decline, timeout, dismissed, callback, callStart, callConnected, callEnded, audioSessionActivated, toggleHold, toggleMute, toggleDmtf, toggleGroup, voipTokenUpdated). - Background handler:
registerBackgroundHandlerfor processing call events when the app is killed/terminated via headless FlutterEngine. - Pending event replay: Events fired while the Flutter engine is dead are persisted and replayed on next attach.
- Android full-screen call Activity: Lock screen support, display cutouts, gradient backgrounds, avatar loading, pulse animation, swipe gestures, haptic feedback.
- Android notifications:
NotificationCompat.CallStyleon API 31+, per-call notification IDs, non-dismissible ongoing notifications, foreground service withphoneCalltype. - Android foreground service fallback: Graceful fallback to notification-only when
ForegroundServiceStartNotAllowedExceptionis thrown. - Android permission helpers:
canUseFullScreenIntent,requestFullIntentPermission,hasNotificationPermission,requestNotificationPermission. - OEM autostart detection:
isAutoStartAvailableandopenAutoStartSettingsfor Xiaomi, OPPO, Vivo, Huawei, Samsung, OnePlus, and Realme devices. - iOS CallKit integration: Full CXProvider/CXCallController implementation with proper audio session configuration for WebRTC/VoIP.
- iOS PushKit/VoIP:
PKPushRegistrydelegate withgetDevicePushTokenVoIPand automaticvoipTokenUpdatedevents. - iOS missed call:
UNUserNotificationCenterwith custom category and "Call Back" action. - iOS audio session: Proper
AVAudioSessionconfiguration with.playAndRecordcategory and.voiceChatmode before fulfilling answer action. - Multi-call support: Track multiple simultaneous calls independently on both platforms.
- Flutter widget:
IncomingCallScreenwidget for foreground use with customizable gradient/solid background, avatar with pulse animation, and swipe-to-answer/decline. - Swift Package Manager:
Package.swiftincluded for SPM support alongside CocoaPods. - Android 15 compliance:
PROPERTY_SPECIAL_USE_FGS_SUBTYPEdeclared for foreground service.
