Fabric.with([Crashlytics.self])
[Fabric with:@[[Crashlytics class]]];
#if !DEBUG Fabric.with([Crashlytics.self]) #endif
#if !DEBUG [Fabric with:@[[Crashlytics class]]]; #endif
Info.plist
firebase_crashlytics_collection_enabled
false
Fabric.with
BuildConfig.DEBUG
if (!BuildConfig.DEBUG) { Fabric.with(this, new Crashlytics()); }
src
debug
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <application> <meta-data android:name="firebase_crashlytics_collection_enabled" android:value="false" /> </application> </manifest>