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(); Copy
async checkReports() {// returns boolean value const crashlytics = getCrashlytics(); const unsentReports = await checkForUnsentReports(crashlytics);}checkReports();
A crashlytics instance.
Promise that resolves to a boolean indicating if there are unsent reports.
Determines whether there are any unsent crash reports cached on the device. The callback only executes if automatic data collection is disabled.
Example