Last active
September 7, 2019 14:21
-
-
Save Zfinix/9a0a4c94d102fd6952e86dced3a213b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:firebase_crashlytics/firebase_crashlytics.dart'; | |
| //import 'misc/gymModule/gymDetailUI.dart'; | |
| void main() { | |
| // Set `enableInDevMode` to true to see reports while in debug mode | |
| // This is only to be used for confirming that reports are being | |
| // submitted as expected. It is not intended to be used for everyday | |
| // development. | |
| Crashlytics.instance.enableInDevMode = true; | |
| // Pass all uncaught errors to Crashlytics. | |
| FlutterError.onError = Crashlytics.instance.recordFlutterError; | |
| runZoned<Future<void>>(() async { | |
| runApp(MyApp()); | |
| }, onError: Crashlytics.instance.recordError); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment