React Native Firebase
    Preparing search index...
    • Determines whether there are any unsent crash reports cached on the device. The callback only executes if automatic data collection is disabled.

      async checkReports() {
      // returns boolean value
      const crashlytics = getCrashlytics();
      const unsentReports = await checkForUnsentReports(crashlytics);
      }

      checkReports();

      Parameters

      Returns Promise<boolean>

      Promise that resolves to a boolean indicating if there are unsent reports.