refena_sentry 0.1.1 copy "refena_sentry: ^0.1.1" to clipboard
refena_sentry: ^0.1.1 copied to clipboard

Adds Sentry integration to the Refena state management library.

logo

pub package ci License: MIT

Sentry integration for Refena.

inspector

Setup #

Add the following dependencies to your pubspec.yaml:

# pubspec.yaml
dependencies:
  refena_sentry: <version>

Add the RefenaSentryObserver:

void main() async {
  await SentryFlutter.init(
    (options) {
      options.dsn = 'https://example@sentry.io/example';
    },
    appRunner: () {
      runApp(
        RefenaScope(
          observers: [
            RefenaSentryObserver(), // <-- Add the observer
          ],
          child: MyApp(),
        ),
      );
    },
  );
}
0
likes
0
pub points
27%
popularity

Publisher

verified publisherrefena.dev

Adds Sentry integration to the Refena state management library.

Repository (GitHub)
View/report issues

Topics

#refena

License

unknown (LICENSE)

Dependencies

refena, sentry

More

Packages that depend on refena_sentry