Everything works fine with the app running in the foreground or in background. But i don’t receive any notification about an incoming call when the app is in the killed state. How can I notify the user that a call is coming in? How i can generally handle an incoming call if the app is in killed state?
I’m working on the Android solution via FCM
// If problem, please fill out the below. If question, please delete.
[SDK version]
// “@sendbird/calls-react-native”: “^1.1.3”,
[Reproduction Steps]
index.ts:
firebase.messaging().setBackgroundMessageHandler(async (message: any) => {
if (message !== null) {
await handleFcmBackgroundMessage(message);
}
});
[Frequency]
// allways