Background Call Integration
#
AndroidYour flutter app should have a firebase cloud messaging integration to receive push notifications for call in background/killed state. Refer this doc to continue firebase cloud messaging integration in chat
#
Add runtime permissions for push notificationFrom Android 13
, To receive notification message, we need below permissions:
#
Updating fcm device tokenYou need to update the fcm device token to the server, so that server can send push notificationns by using the updated fcm device token. if you want to update the fcm device token, you can utilise the below method.
Argument | Type | Description |
---|---|---|
FCM_TOKEN | String | fcm device token |
flyCallback | FlyResponse | callback to observe the action status |
#
Handling the received call fcm messageUpon receiving a Firebase push notification in your Firebase Messaging service, you can utilize the following method to retrieve the notification content and subsequently create and display the notification.
#
iOSPlease upload your VOIP Certificate to our Console. To know more how to generate and upload VOIP Certificate Click Here.
#
Enabling VOIP to the ApplicationEnable the VOIP in background/killed state, this is necessary to receive calls in iOS.
Note : The VOIP registration and token handling will be taken care of inside the Mirrorfly plugin.