|
|
@ -17,8 +17,9 @@ class MainInitialize {
|
|
|
|
//TODO setCrashlyticsCollectionEnabled state
|
|
|
|
//TODO setCrashlyticsCollectionEnabled state
|
|
|
|
FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true);
|
|
|
|
FirebaseCrashlytics.instance.setCrashlyticsCollectionEnabled(true);
|
|
|
|
FlutterError.onError = (detail) {
|
|
|
|
FlutterError.onError = (detail) {
|
|
|
|
LoggerData.addData(detail.exception.toString(), tag: 'EXCEPTION');
|
|
|
|
LoggerData.addData(detail);
|
|
|
|
FirebaseCrashlytics.instance.recordFlutterError(detail);
|
|
|
|
FirebaseCrashlytics.instance.recordFlutterError(detail);
|
|
|
|
|
|
|
|
FlutterError.presentError(detail);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|