-
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
[🐛]🔥 Crashlytics not enabled on iOS #8427
Comments
Hey there, It looks like your issue is here
Try putting this into your info.plist:
instead of
|
@enriquezc please follow this guide carefully - https://invertase.io/blog/react-native-firebase-crashlytics-configuration#testing-your-configuration and indicate which step is not working if none of that works. There are quite a few reasons that iOS won't generate crash reports in testing - I can think of two immediately - but the doc goes over it all. @MichaelVerdon I don't think that key is the problem however I was also unaware they had changed the key! So that's something to repair on our end Additionally, this may be related to this PR which merged yesterday and I am releasing right now: @enriquezc - you have perfectly up to date versions, thank you, however 21.12.3 is just being released, and I think when you work through the testing steps in the guide I wrote and linked above, you make sure you do it on this new 21.12.3 as it does contain a fix specifically in that area |
Strange, I inspected for that Info.plist key and I don't see it in our codebase. When we implemented that toggle it was already the updated value we say we should use: @enriquezc I would very very carefully check your Info.plist file, if you have anything manually in there related to things that are already controlled in firebase.json (like the crashlytics keys...) you should remove them. We have a script that takes firebase.json values, and then during |
Issue
When adding crashlytics to our production app, we are able to see crashes on our console for the android version, but when we try to get a crash in our iOS app to confirm that crashlytics is collecting crashes, we are repeatedly getting the message that "Crash reporting could not be initialized." I've attached the logs from running
xcrun simctl spawn booted log stream --level debug --style compact | grep -i crash
where these messages show up on app start up when the reporting should normally be taking place.Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:xcrun logs
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.12.2
Firebase
module(s) you're using that has the issue:Crashlytics
TypeScript
?N
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: