I am using latest Crashlytics library for iOS. I am looking to disable crashlytics using a single flag. How can I do that?
PS: I am not using set API key method as p
Swift language also supports conditional compilation:
#if FABRIC Fabric.with([Crashlytics.self]) #endif
Define FABRIC as Swift compiler flag in Build Settings -> Swift Compiler - Custom Flags -> Other Swift Flags:
FABRIC
Build Settings -> Swift Compiler - Custom Flags -> Other Swift Flags