-
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
React native crashlytics not working on ios #6203
Comments
Hi there! So, it's not enabled, it will not work. You will like: |
How to enable this. all the mention configurations are done. is there any thing need to be added specifically to enable |
If it's iOS only, perhaps you did not pod install after changing firebase.json? We use ruby as a cocoapods install hook to put the firebase.json settings in to your Info.plist for the app |
2022-04-19 21:24:15.884 Df Wapp Staging[27554:17e70d] [Firebase/Crashlytics] Version 8.14.0 |
Can you please share the configuration details. infoplist file where keys should added and what are the keys and appdelegate.m file configs also @mikehardy |
You should check our e2e app, which serves as an example. I'm sorry I won't have time to respond on this further. Our e2e tests app (which has a README for running it) actually has two crash buttons where you can test it. And I wrote a whole blog on how to configure it, plus added those log messages so you could positively confirm it is working. It is working You can pull the ios simulator logs from our e2e ios actions (they are uploaded as test artifacts) and see it even I believe |
The ios reference docs have the information if you really want to do it manually though - https://firebase.google.com/docs/crashlytics/get-started?platform=ios |
how to enable this |
The critical piece of missing information was my execution environment is typically macOS 11 still (as is our CI environment) and I will bet $1 that yours is macOS 12.3+ yes? They removed the |
reported success on the other linked issue from the PR where I fixed this - it really should work now with v14.9.2, cheers |
I am still experiencing this issue with the latest version of the library and using macOS 12.6, also using react native v0.70. |
@devon2018 I'm not aware of "this issue" (which was discovered to have a root cause of python no longer installed) still existing, with current react-native-firebase, after running |
Where do this |
@banuharshavardhan You need to create your own |
@mikehardy can you help me i tried everything but i wont able to solve my problems of this getting same error i am using "react-native": "0.70.0", Crashlytics - INFO: crashlytics collection is not enabled, not crashing. |
Please update to current versions of react-native and react-native-firebase then try again |
I have updated to the latest versions of React Native Firebase but currently it is not possible for me to update React Native because it is a working project and I don’t want to deal with additional headaches right now after updating firebase still getting that error @mikehardy |
@thsanki best to open a new issue and fill out the template. This original issue is from 3 years ago and react-native-firebase v14. Ridiculously old. Please be very clear when opening the issue about the actual problem you're experiencing |
Hi i have updated React native crashlytics to latest and running a test crash on ios emulator
its not working and crash is not working also
"@react-native-firebase/analytics": "^14.7.0",
"@react-native-firebase/app": "^14.7.0",
"@react-native-firebase/crashlytics": "^14.7.0",
"@react-native-firebase/messaging": "^14.7.0",
"@react-native-firebase/perf": "^14.7.0",
debug logs says as below
022-04-19 15:48:05.733 Db Wapp Staging[90125:12dba9] [com.apple.defaults:User Defaults] found no value for key crashlytics_debug_enabled in CFPrefsSearchListSource<0x600001b42500> (Domain: io.invertase.firebase, Container: (null))
2022-04-19 15:48:05.733 Df Wapp Staging[90125:12dba9] +[RNFBSharedUtils getConfigBooleanValue:key:defaultValue:] [Line 157] RNFBCrashlyticsInit crashlytics_debug_enabled via RNFBMeta: 0
2022-04-19 15:48:05.733 Df Wapp Staging[90125:12dba9] +[RNFBSharedUtils getConfigBooleanValue:key:defaultValue:] [Line 160] RNFBCrashlyticsInit crashlytics_debug_enabled final value: 0
2022-04-19 15:48:05.734 Df Wapp Staging[90125:12dba9] +[RNFBCrashlyticsInitProvider isCrashlyticsCollectionEnabled] [Line 49] RNFBCrashlyticsInit isCrashlyticsCollectionEnabled after checking crashlytics_debug_enabled: 0
2022-04-19 15:48:05.734 I Wapp Staging[90125:12dba9] [com.facebook.react.log:native] Crashlytics - INFO: crashlytics collection is not enabled, not crashing.
Originally posted by @eranda-intervest in #6202
The text was updated successfully, but these errors were encountered: