Aus öffentlichen Paketdaten erstellte Orientierung.
Ein Flutter-Paket, das eine Ein-zu-Eins-Videoanrufe auf iOS mithilfe von CallKit und PushKit ermöglicht, um nahtlose Integration mit der nativen Anrufoberfläche des Systems zu gewährleisten. Es ermöglicht eingehende Anrufbenachrichtigungen, Hintergrundverarbeitung und ein natives Anruferlebnis. Das Paket ist speziell für iOS entwickelt und nutzt plattformspezifische APIs, um eine zuverlässige Echtzeitkommunikation sicherzustellen. Obwohl es in seiner Konfiguration auch Android unterstützt, liegt der Fokus der Kernfunktionen auf iOS. Es erfordert die korrekte Einrichtung von VoIP-Push-Zertifikaten und Backend-Unterstützung für Push-Benachrichtigungen.
Anwendungsfälle
Echtzeit-Videoanruf-Apps
iOS-native Anruf-Erlebnisse
Hintergrundanrufverarbeitung
Push-basierte Anrufinitiierung
Integration mit der CallKit-Oberfläche
Hauptmerkmale
CallKit-Integration
PushKit-Unterstützung
Hintergrundaufruf-Funktion
Native iOS-Aufruf-Schnittstelle
VoIP-Push-Benachrichtigungsverarbeitung
Geeignet für
iOS-orientierte Videoanruf-Apps
Apps, die eine System-Ebene-Aufrufintegration erfordern
Entwickler, die Telehealth- oder Messaging-Plattformen erstellen
Projekte, die Hintergrundaufrufpersistenz erfordern
Hinweise
Erfordert iOS-spezifische Konfiguration
Benötigt VoIP-Push-Zertifikat-Einrichtung
Backend-Push-Benachrichtigungsdienst erforderlich
Eingeschränkte Android-Funktionalität
Komplexe Erstkonfiguration mit dem Apple-Entwickler-Portal
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
flutter_ios_voip_kit
One-to-one video call using CallKit and PushKit with flutter iOS app.
Motivation
We need to use CallKit to handle incoming VoIP notifications from iOS 13. Check the WWDC2019 video for more information. So instead of using CallKit and PushKit separately, there is a growing need to use them together. However, there are still few VoIP notification samples on the net that use CallKit and PushKit (especially for Flutter). I decided to create a flutter plugin with the minimum required functions. You can use this plugin, but the actual purpose is to help you create a VoIPKit tailored to your service.
Requirement
iOS only, not support Android.
iOS 10 or above.
one-to-one call only, not support group call.
need to a server for pushing VoIP notification with APNs.
to actually make a video or call, you need to link to a service such as WebRTC(ex: Agora, SkyWay, Amazon Kinesis Video Streams).
Usage
1. install
Add flutter_ios_voip_kit as a dependency in your pubspec.yaml file.
2. setting Capability in Xcode
Select Background Modes > Voice over IP and Remote notifications is ON.
Select Push Notifications.
Changed ios/Runner/Info.plist after selected Capability.
Does CallKit have a call and outgoing call screen?
No. CallKit support incoming call screen only. You need to make your own a call and outgoing call screens.
Can I use remote push device token instead of VoIP device token?
No. Since the specifications of VoIP token and push token are different, it is necessary to manage them separately in your database.
Can't get VoIP token on iOS13
Please uninstall the app, restart the terminal and reinstall the app. You can get it after a while.
Don't receive VoIP notifications
Please check the following items.
Is the VoIP device token correct?
Did you set your app’s bundle ID with .voip to apns-topic?
Did you set voip to apns-push-type?
Is the APNs endpoint(Development or Production) correct?
For iOS13, VoIP notifications may not be received if call kit call fails many times. Please uninstall the app, restart the terminal and reinstall the app.
No icon is displayed on the incoming call screen when locked
The icon image should be a square with side length of 40 points. The color is ignored. Please design with the difference of alpha.
If created in PDF, checked Preserve Vector Data for Resizing and change Single Scale for Scales.