Is there any way to disable crash reporting for Ad-Hoc builds? I only want crash reporting for release builds.
I know I can use following code but it only work debug builds.
#if DEBUG == 0
[Fabric with:@[CrashlyticsKit]];
#endif
Im using Fabric 1.1.3
Edit: I don't want to disable Fabric at all, I just need automatic configurations for Ad-Hoc and Release builds.
To disable firebase crashlytics for debug mode in swift:
#if DEBUG
Crashlytics.crashlytics().setCrashlyticsCollectionEnabled(false)
#endif
If you use Swift, this woud work:
#if !DEBUG
Fabric.with([Crashlytics.self])
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With