firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
How to initialize Firebase Crashlytics on iOS?
Hi, thanks for providing the library, it's really helpful so far. Would you happen to have some instructions on how to initialize the Crashlytics on iOS? Right now I have it working perfectly on Android, but on iOS I couldn't get crashes reported. I followed this article's instructions, but in the end, I'm unable to call the initialise function from iOSApp.swift https://funkymuse.dev/posts/kmp-firebase/#testing-the-implementation
Thank you!
Just follow the Google setup instructions: https://firebase.google.com/docs/crashlytics/get-started?platform=ios
This SDK does nothing special with it, you can set up Crashlytics in your common Kotlin code with it, but the basics stay the same
Thanks for your help @Daeda88 , I was able to setup it and get it initialized, but I'm having trouble with processing the dSYMs files. I followed this instructions: https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports?platform=ios#check-input-files-setup However I wasn't able to compile the project after that... I'm wondering if the path is slightly different because it's a KMP project, or if that should still be the same setup.
More of a Kotlin Native question @gustavopeq . I think you should have a look at https://kotlinlang.org/docs/native-ios-symbolication.html
@gustavopeq Did you manage to solve it? Do I need to do something extra?
~~Also facing an issue here. My FireStore connecction works fine, but there are no crashes reported. Firebase console still shows that the SDK is not interagted yet.. Any ideas? Also my Android app is properly reporting crashes through Crashlytics.~~
NVM: I removed and added the swift package once more and now it works 🤔