diff --git a/lib/main.dart b/lib/main.dart index 574593a..1987a23 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -137,7 +137,6 @@ part 'entities/media_player/widgets/media_player_progress_bar.widget.dart'; part 'pages/whats_new.page.dart'; EventBus eventBus = new EventBus(); -//final SentryClient _sentry = SentryClient(dsn: "https://03ef364745cc4c23a60ddbc874c69925@sentry.io/1836118"); final FirebaseMessaging _firebaseMessaging = FirebaseMessaging(); FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin = new FlutterLocalNotificationsPlugin(); const String appName = "HA Client"; @@ -156,8 +155,7 @@ Future _reportError(dynamic error, dynamic stackTrace) async { } void main() async { - //TODO remove when configured - Crashlytics.instance.enableInDevMode = true; + Crashlytics.instance.enableInDevMode = false; FlutterError.onError = (FlutterErrorDetails details) { Logger.e(" Caut Flutter runtime error: ${details.exception}"); diff --git a/lib/pages/main.page.dart b/lib/pages/main.page.dart index 55224c5..fb0343b 100644 --- a/lib/pages/main.page.dart +++ b/lib/pages/main.page.dart @@ -131,7 +131,6 @@ class _MainPageState extends State with WidgetsBindingObserver, Ticker } }); eventBus.fire(RefreshDataFinishedEvent()); - throw new Exception("There is an error thrown specifically for Crashlitycs reporting test!"); } @override