Skip to content

Commit

Permalink
docs(firebase_crashlytics): add note for crash() that the app needs…
Browse files Browse the repository at this point in the history
… to be restarted to send a crash report (#9586)

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
  • Loading branch information
nilsreichardt and Salakar committed Oct 4, 2022
1 parent 9250d45 commit 3a3e521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -59,7 +59,8 @@ class FirebaseCrashlytics extends FirebasePluginPlatform {
/// This should only be used for testing purposes in cases where you wish to
/// simulate a native crash to view the results on the Firebase Console.
///
/// Note: crash reports will not include a stack trace.
/// Note: crash reports will not include a stack trace and crash reports are
/// not sent until the next application startup.
void crash() {
return _delegate.crash();
}
Expand Down
Expand Up @@ -89,7 +89,8 @@ abstract class FirebaseCrashlyticsPlatform extends PlatformInterface {
/// This should only be used for testing purposes in cases where you wish to
/// simulate a native crash to view the results on the Firebase Console.
///
/// Note: crash reports will not include a stack trace.
/// Note: crash reports will not include a stack trace and crash reports are
/// not sent until the next application startup.
void crash() {
throw UnimplementedError('crash() is not implemented');
}
Expand Down

0 comments on commit 3a3e521

Please sign in to comment.