Last active
January 7, 2021 07:26
-
-
Save piumimaheshika/4c07c364651498463ba1d72c4a2b5871 to your computer and use it in GitHub Desktop.
flutter crashlytics
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
| main() { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| runZonedGuarded(() { | |
| runApp(Wrapper()); | |
| }, (error, stackTrace) { | |
| print('runZonedGuarded: Caught error in my root zone.'); | |
| FirebaseCrashlytics.instance.recordError(error, stackTrace); | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment