React Native Firebase
    Preparing search index...
    • Enable/disable Crashlytics reporting.

      Use this for opt-in first user data collection flows combined with firebase.json settings to disable auto collection.

      const crashlytics = getCrashlytics();
      // Disable crash reporting
      await setCrashlyticsCollectionEnabled(crashlytics, false);

      Parameters

      • crashlytics: Crashlytics

        A crashlytics instance.

      • enabled: boolean

        A boolean value representing whether to enable Crashlytics error collection.

      Returns Promise<null>