Restarting phone and opening the notification crashes app #4596
-
Hi, Can someone help me with this issue? I switched off and switched on my phone, and I sent a notification from my server. When I click the notification which I received in my android phone the app gets crashed since I used crashlytics, I could see this crash
I have defined RNFirebaseNotificationsRebootReceiver in androidmanifest.xml file.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That receiver definition is not necessary in v6+ of react-native-firebase, removing it is part of the upgrade I believe https://rnfirebase.io/migrating-to-v6#remove-the-rnfirebase-pod I have no react-native-firebase services or receivers in my AndroidManifest.xml, for instance Remove that (and verify you have performed the other migration changes successfully) and it should work |
Beta Was this translation helpful? Give feedback.
That receiver definition is not necessary in v6+ of react-native-firebase, removing it is part of the upgrade I believe
https://rnfirebase.io/migrating-to-v6#remove-the-rnfirebase-pod
I have no react-native-firebase services or receivers in my AndroidManifest.xml, for instance
Remove that (and verify you have performed the other migration changes successfully) and it should work