Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Deprecation of Community Plugin #4

Open
tshedor opened this issue May 26, 2022 · 0 comments
Open

Deprecation of Community Plugin #4

tshedor opened this issue May 26, 2022 · 0 comments
Labels
announcement Something isn't working

Comments

@tshedor
Copy link
Contributor

tshedor commented May 26, 2022

The Bugsnag team has released an official version of their SDK. Since they are a team and very close to the APIs and features of the iOS and Android SDKs, it is with a heavy and joyful heart that this repo will be archived.

This official package is published under the community package name, but it has some different API access. If you're upgrading to 2.0.1, please use the migration guide below:

  • bugsnag_flutter/bugsnag.dart is now bugsnag_flutter/bugsnag_flutter.dart
  • 2.0.1 uses a single API key instead of platform API keys. Use ternaries like Platform.isAndroid ? androidApiKey : iosApiKey when using bugsnag.start
  • .setUser accepts a named ID instead of an unnamed ID in the first position
  • BugsnagObserver is now BugsnagNavigatorObserver
  • Bugsnag.instance is now a global bugsnag
  • Bugsnag.instance.recordError is now bugsnag.notify
  • Bugsnag.instance.recordFlutterError should be translated as bugsnag.notify(error.exception, error.stack)
  • BugsnagBreadcrumb is now BreadcrumbType
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
announcement Something isn't working
Development

No branches or pull requests

1 participant