-
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
[🐛] App crashing on bundle reload [Android] on react-native 0.73 #8159
Comments
Oh that's a shame - I must have made a mistake in this PR #8139 But I'll fix this regardless, just might be a little bit - sorry for the crash |
I've got a PR up that should fix it: It's going to wait on approval before release but in the mean time you can use the patch-package set that's generated here from our CI system: https://github.com/invertase/react-native-firebase/actions/runs/12002173355?pr=8160 It's just a one-line diff though: https://github.com/invertase/react-native-firebase/pull/8160/files |
thanks @mikehardy for the quick response |
released as 21.6.1 - thanks again for the report |
Issue
I just linked the react native firebase library with my app for enabling PNS using FCM. I did all the hardwiring and FCM is working as expected on both iOS and android. The issue however is that, on hot reload (by pressing 'R'), the app crashes in android with the following stack trace
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:^21.6.0
Firebase
module(s) you're using that has the issue:Firebase Cloud Messaging
TypeScript
?Y
&5.0.4
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: