Hello, I've implemented CrashKiOS (with Crashlytic...
# touchlab-tools
a
Hello, I've implemented CrashKiOS (with Crashlytics) to my KMP project, and I wanted to know if by any chance it was possible to check if crashlytics is enable and how to manually disable it from Kotlin?
k
I've never had that particular use case myself. Generally speaking, the decision to enable/disable happens during app init. Usually checking if this is a debug or release build, then simply not initializing Crashlytics in the former case. So, off hand, not sure. I'm not even sure if you can toggle that from the platform Crashlytics API, much less the CrashKiOS wrapper. Is there a specific use-case involved?
And, I guess to be more specific, so you want to turn off the Kotlin symbolication, or entirely shut down Crashlytics?
a
It seems that the Firebase API allow to disable/enable crash reports at runtime. The use case is to allow a user to enable/disable crashlytics manually after the app init 🙂 But if it's not possible I can still show a warning indicating that changes will be applied when the app restart, though if possible, I would have prefer the first method.
Thanks for the answer! @kpgalligan