You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sentry.runZonedGuarded(() async {
WidgetsBinding.ensureInitialized();
// Errors before init will not be handled by SentryawaitSentryFlutter.init(
(options) {
...
},
appRunner: () =>runApp(MyApp()),
);
} (error, stackTrace) {
// Automatically sends errors to Sentry, no need to do any// captureException calls on your part.// On top of that, you can do your own custom stuff in this callback.
});
Suggested Solution
fixed
Sentry.runZonedGuarded(() async {
WidgetsBinding.ensureInitialized();
// Errors before init will not be handled by SentryawaitSentryFlutter.init(
(options) {
...
},
appRunner: () =>runApp(MyApp()),
);
}, (error, stackTrace) {
// Automatically sends errors to Sentry, no need to do any// captureException calls on your part.// On top of that, you can do your own custom stuff in this callback.
});
The text was updated successfully, but these errors were encountered:
SDK
Flutter SDK
Description
,
is missing onSentry.runZonedGuarded()
https://docs.sentry.io/platforms/flutter/usage/
https://pub.dev/packages/sentry_flutter/changelog
now documents and pub.dev changelog
Suggested Solution
fixed
The text was updated successfully, but these errors were encountered: