From 62fd76f7e415501bf587966110f4c793debc407e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 11 Nov 2014 20:20:36 +0800 Subject: [PATCH] docs: crashRepoter.getLastCrashReport --- docs/api/crash-reporter.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 233dd1f1d..3d0cf5467 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -27,6 +27,11 @@ crashReporter.start({ * Only string properties are send correctly. * Nested objects are not supported. +## crashReporter.getLastCrashReport() + +Returns the date and ID of last crash report, when there was no crash report +sent or the crash reporter is not started, `null` will be returned. + # crash-reporter payload The crash reporter will send the following data to the `submitUrl` as `POST`: