Skip to content

Commit

Permalink
fix(crashlytics): re-add support for recordFlutterFatalError method…
Browse files Browse the repository at this point in the history
… from previous EAP API (#8550)
  • Loading branch information
Salakar authored Apr 29, 2022
1 parent f2df83c commit 8ef8b55
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ class FirebaseCrashlytics extends FirebasePluginPlatform {
);
}

/// Submits a Crashlytics report of a fatal error caught by the Flutter framework.
Future<void> recordFlutterFatalError(
FlutterErrorDetails flutterErrorDetails) {
return recordFlutterError(flutterErrorDetails, fatal: true);
}

/// Logs a message that's included in the next fatal or non-fatal report.
///
/// Logs are visible in the session view on the Firebase Crashlytics console.
Expand Down

0 comments on commit 8ef8b55

Please sign in to comment.