react-native-callkeep
react-native-callkeep copied to clipboard
[Android] displayIncomingCall doesn't called when the app is in quit mode from high priority FCM arrives?
Bug report
-
[ ] I've checked the example to reproduce the issue.
-
Reproduced on:
-
[ ] Android
-
[ ] iOS
Description
Steps to Reproduce
Versions
- Callkeep:
- React Native:
- iOS:
- Android:
- Phone model:
Logs
Paste here
Any solution on this?
Same
- Callkeep: 4.3.3
- React Native: 0.68.0
- iOS:
- Android: 12
- Phone model: Samsung s10e
messaging().setBackgroundMessageHandler(async () => {
console.log('RNFB background message: ', remoteMessage); \\ Logs fine
RNCallKeep.displayIncomingCall(
someUUID,
'Caller Handle',
'Loc Caller Name',
'generic',
false,
);
```
Try this: https://github.com/react-native-webrtc/react-native-callkeep/pull/576
It worked for me on Android 12, Samsung S10e
@MarcDerhammer i dropped this feature as the maintainers recommend to go selfManaged
moving forward: https://github.com/react-native-webrtc/react-native-callkeep/issues/547#issuecomment-1075273564
and abandoned RNCallKeep in general for handling displaying the message part, as even with selfManaged
, showIncomingCallUi
would intermittently not fire