react-native-callkeep icon indicating copy to clipboard operation
react-native-callkeep copied to clipboard

[Android] displayIncomingCall doesn't called when the app is in quit mode from high priority FCM arrives?

Open BaronTechDevelopment opened this issue 2 years ago • 4 comments

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

BaronTechDevelopment avatar Jul 25 '22 10:07 BaronTechDevelopment

Any solution on this?

vinayakkakade7985 avatar Jul 26 '22 19:07 vinayakkakade7985

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,
    );
    ```

frozencap avatar Aug 23 '22 17:08 frozencap

Try this: https://github.com/react-native-webrtc/react-native-callkeep/pull/576

It worked for me on Android 12, Samsung S10e

MarcDerhammer avatar Aug 29 '22 17:08 MarcDerhammer

@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

frozencap avatar Aug 29 '22 18:08 frozencap