-
Notifications
You must be signed in to change notification settings - Fork 29
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
App crashes when answering a call from app killed state when using out-of-band Firebase Messaging service on Android #445
Comments
Hi @aaronleo28 thanks for bringing this to our attention. I indeed tested the "app killed" use-case before release, so let's dig into this and see if we can resolve the issue. Could you get the logcats and post any errors you see here? |
@mhuynh5757 thanks for the speedy reply, I've included the logcats below, filtered for warnings and above btw, the behaviour is as expected when the screen is on and the app is killed - the issue only arises when the app is killed and the screen is off
|
Thanks! We'll look into it further. |
happy friday @mhuynh5757 are there any updates on the above issue? |
Issue
Pre-submission Checklist
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Description
I'm building an Expo react native app that uses this SDK alongside our own
@react-native-firebase/messaging
service that I use to receive push notifications sent from our backend.I was happy to see the 1.2.1 release go out which unblocked us from using firebase messaging in our app for Android with the introduction of support for an out-of-band Firebase service.
I set this up following this guide and everything works well except responding to calls made while the app is killed and the screen is off.
Calls made while the app is foregrounded or backgrounded work as expected, the issue only occurs when trying to answer a call via the notification presented when the app is killed and the screen is off.
Reproduction Steps
Expected Behavior
I would expect the same behaviour that is observed when not using an out of band Firebase service, ie that a full-screen accept/reject call view is presented, as well as the incoming call notification, which can be used to answer the call successfully
Actual Behavior
The device will call, and a notification can be seen, but pressing the notification tries to open the app which will then crash. Also, the full screen accept/reject call view isn't visible
Reproduction Frequency
100%
Screenshots
If applicable, add screenshots to help explain your problem.
Software and Device Information
Please complete the following information.
The text was updated successfully, but these errors were encountered: