getLastCrashReport

abstract external fun getLastCrashReport(): CrashReport?(source)

The date and ID of the crash report with the most recent upload time, from the list returned by getUploadedReports(). If there are no crash reports at all, null is returned.

If no report has been uploaded yet but some are stored on disk, a report that has not been uploaded may be returned. Check that its id is not empty before treating it as uploaded.

!NOTE This method is only available in the main process.