Crash

class Crash : NSObject

This class allows you to configure the Firebase Crash SDK.

This SDK uses a Firebase Instance ID token to identify the app instance and periodically sends data to the Firebase backend. (see [FIRInstanceID getIDWithHandler:]). To stop the periodic sync, call [FIRInstanceID deleteIDWithHandler:] and either disable this SDK or set FIRCrash.crashCollectionEnabled to NO.

  • FirebaseCrash instance using the default FIRApp.

    Declaration

    Swift

    class func sharedInstance() -> Crash!
  • Is crash reporting enabled? If crash reporting was previously enabled, the exception handler will remain installed, but crashes will not be transmitted.

    This setting is persisted, and is applied on future invocations of your application. Once explicitly set, it overrides any settings in your Info.plist.

    By default, crash reporting is enabled. If you need to change the default (for example, because you want to prompt the user before collecting crashes) set firebase_crash_enabled to false in your application’s Info.plist.

    Declaration

    Swift

    var isCrashCollectionEnabled: Bool { get set }