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

Adds Sentry integration to the Refena state management library.

Logo

pub package ci License: MIT

Sentry integration for Refena.

sentry

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
160
points
57
downloads
screenshot

Publisher

verified publisherrefena.dev

Weekly Downloads

Adds Sentry integration to the Refena state management library.

Repository (GitHub)
View/report issues

Topics

#refena

Documentation

API reference

License

MIT (license)

Dependencies

refena, sentry

More

Packages that depend on refena_sentry