Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement Callkeep with Agora in Flutter?

I have to create call application with help of Agora. When app is in foreground it is okay, but i want to accept calls when app is on background or terminated. I am trieng to use Callkeep plugin for accepting calls of background I found a way via FCM background message,but i dont know how to implement solutiion for IOS,it does not have FCM background message I tried use VOIP notification, but i dont know how to send them to my flutter app I use Firebase as a backend I need solution for both Android and IOS Thanks

like image 679
Фарид Фахнавар Avatar asked Nov 07 '22 02:11

Фарид Фахнавар


1 Answers

For IOS you will have to implement a server side script that will send VOIP Push notifications to the user before the real VOIP call comes in. From what I know, you cannot user Firebase for this.

Please refer to https://developer.apple.com/documentation/pushkit/responding_to_voip_notifications_from_pushkit to know more about the changes about handling VOIP calls in background.

Also, refer to https://developer.apple.com/documentation/pushkit/responding_to_voip_notifications_from_pushkit to know more about sending VOIP Push notifications on server side.

like image 73
Victor Gonzalez Chamorro Avatar answered Nov 15 '22 07:11

Victor Gonzalez Chamorro