Hi everyone, using Compose Multiplatform. On Apple...
# multiplatform
s
Hi everyone, using Compose Multiplatform. On Apple App Store Connect, I’m seeing a lot more crashes compared to Firebase Crashlytics. However, Android crashes are showing correctly in Crashlytics, while iOS crashes are not fully reported in my CMP project, even though
CrashKiOS
is also integrated. I have the xcode scripts in place to ensure dSYM files are properly uploaded, and there are no warnings in Firebase indicating any issues. The only major issue I had was with the library below, which caused crashes on app startup for all iOS versions below iOS 16. To fix this, I *i*ncreased the minimum iOS version to 16, but crashes are still appearing in App Store Connect while not being reflected in Firebase Crashlytics. Also, Xcode is not showing as many crashes as App Store Connect. Libraryhttps://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer Need help—what am I doing wrong?
c
can you cause a crash yourself from ios device and verify it gets to firebase? even without dsym, the crash should still be there.
thats what i did recently when integrating firebase into my ios cmp app. just tested it and after opening up the ios app once or twice it showed up in firebase fairly quickly.
i didn't use crashkios. i just integrated it like this: https://funkymuse.dev/posts/kmp-firebase/
s
can you cause a crash yourself from ios device and verify it gets to firebase? even without dsym, the crash should still be there.
Yes i did tested, it does get logged in Crashlytics. I simply crashed it on a button click for testing and tested it on a TestFlight build, and it was logged properly.
🤔 1
1
@Colton Idle your app store connect crashes and firebase crashes are close to each other?
c
i dont really look at app store connect
i know on android. play store crashes and firebase can have issues in reported numbers because the play store wont submit bug reports unless the user opts in at the OS level for crash reporting opt-in.
s
unless the user opts
Are you talking about the Apple transparency tracking? but thats on iOS
c
im talking about the play store, but was trying to make the point that maybe apple has a similar thing. but anyway. looks like im not hepful here. sorry
s
all good thanks for sharing your insights tho
a
If these crashes are happening in the background on iOS, there's a chance that iOS's native crash reporting system will get them logged, but Crashlytics never has the chance if the app is never launched subsequently. Just something to consider.
👀 1
Also, some perennially useful advice on using 3rd party crash reporting on iOS can be found here: https://developer.apple.com/forums/thread/113742
👀 1
c
We use Sentry which seems to get most things (that we care about), not seeing a descrepency, but we also do no background stuff (push notifications only), so shouldn't have stuff crash in background. That said, see almost no iOS crashes