-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[🐛] Android Crash "Unable to start receiver" #7893
Comments
Experiencing the same with following set of dependencies: "@react-native-firebase/analytics": "20.1.0",
"@react-native-firebase/app": "20.1.0",
"@react-native-firebase/crashlytics": "20.1.0",
"@react-native-firebase/in-app-messaging": "20.1.0",
"@react-native-firebase/messaging": "20.1.0",
"@react-native-firebase/remote-config": "20.1.0", Stack trace: Fatal Exception: java.lang.RuntimeException: Unable to start receiver io.invertase.firebase.messaging.ReactNativeFirebaseMessagingReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3194)
at android.app.ActivityThread.-wrap17()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
|
We also got this issue. "@react-native-firebase/analytics": "^20.1.0",
"@react-native-firebase/app": "^20.1.0",
"@react-native-firebase/crashlytics": "^20.1.0",
"@react-native-firebase/messaging": "^20.1.0",
"react-native": "0.74.3", OS version: android 8.1.0 Stacktrace
|
Hello, are you still experiencing that using the latest version? |
Same issue. Related to Google Nexus 5X 8.1?
|
--SORRY FOR TAGGING @/silent-- Hello, I'm seeing this error as well but so far only with Android 8 + Google device (Nexus 5x) It seems like We could add a check before we do this I guess, but still it's kinda weird |
…7893) Add a check to handle scenarios where the broadcast intent comes with no extras, preventing potential crashes and logging an error for better debugging.
) Co-authored-by: Russell Wheatley <[email protected]>
rn: 0.73.8
android: 8.1
device: Nexus 5X
deps:
"@react-native-firebase/app": "^19.2.2",
"@react-native-firebase/messaging": "19.2.2",
More Details:
Fatal Exception: java.lang.RuntimeException
Unable to start receiver io.invertase.firebase.messaging.ReactNativeFirebaseMessagingReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
The text was updated successfully, but these errors were encountered: