Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNVoipCall in background and quit state #18

Open
filipthornton opened this issue Sep 17, 2020 · 1 comment
Open

RNVoipCall in background and quit state #18

filipthornton opened this issue Sep 17, 2020 · 1 comment

Comments

@filipthornton
Copy link

Hello, I am using react-native-voip-call package for getting the notification of incoming call. The functionality of actual calling is done using webrtc and socket.io.

The package is working fine in background state. I send a data notification using firebase and in app.js I use in the function messaging().setBackgroundMessageHandler the code for RNVoipCall.displayIncomingCall just like in the documentation. So everything is working.

The problem appears when the app is in quit or killed state. Nothing appears.

Also there is a problem when the app is in background state but with the screen locked. The notification appears but you have to unlock the screen and then search in the system tray of the app again to be able to choose Answer or Decline.

If you have any thoughts on these matters I would really appreciate it.

Thanks

@usamaabutt
Copy link

Hi, I am also having the same issue any help on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants