Receive a call in the background
When the client app is in the foreground, incoming call events are received through the server connection. However, when the app is running in the background or closed, incoming calls are received through PushKit for iOS and FCM for Android.
To receive PushKit messages delivered to the iOS SDK in the client app, add
SendBirdCall.pushRegistry(_:didReceiveIncomingPushWith:for:). For Objective-C, add
[SBCSendBirdCall pushRegistry:_ didReceiveIncomingPushWith:for:] instead.
Implement libraries such as React Native Callkeep and React Native VoIP Push Notification to access functionalities CallKit and PushKit provides in the client app.
To receive FCM messages delivered to
SendbirdCalls in the React Native SDK, implement the