Hey everyone, For quite some time I am facing a fe...
# compose-ios
v
Hey everyone, For quite some time I am facing a few weird random crashes in my iOS app on production I found out the crash logs, but I don't understand whats the issue here, can anyone help me out?
Thanks, but I am already using this
f
No, my bad, you’re using compose for iOS, it’s useless in your case
You crashed because of a null value in your compose render, I can’t help you more
v
Thanks for helping
I'll check for null fields
f
Copy code
0   Medial                        	0x10064061c kfun:kotlin#require(kotlin.Boolean;kotlin.Function0<kotlin.Any>){} + 176 (Preconditions.kt:38)
After you need to follow the white rabbit, good luck!
using breadcrumb with crashlytics could be a good way to reproduce your crash.
v
Thanks a lot, this would help me debug. Crashlytics had the crash info, but not at all helpful, so I had to check XCode
f
they are better tools than Firebase for monitoring crash with KMP, but it’s the only who is really free
v
Yeah, I tried Sentry, its much better than Crashlytics But was giving some problems, some crashes were missing
f
https://www.bugsnag.com/ is also a good tool (need craskios), the free edition is limited but enough for small project
v
Thanks, i will try this out
r
hi @Vaibhav Jaiswal I work at Sentry - could you perhaps share what crashes exactly were missing? Would be ideal if you could open a github issue with all the details: https://github.com/getsentry/sentry-kotlin-multiplatform/issues
v
Hii @romtsn App crashes were correctly tracked, but cases in which iOS app froze for some time and then crashes, those crashes were not tracked, neither was that app hang tracked
f
This kind of crash is about out of memory
You should check from xcode the crash logs of your device
v
Yeah, Neither Sentry nor Crashlytics tracked it
f
OOM are difficult to track
Try to log the memory warning event trigger by iOS
v
Thanks ill try this out