blipit_flutter 0.2.0 copy "blipit_flutter: ^0.2.0" to clipboard
blipit_flutter: ^0.2.0 copied to clipboard

Blipit error monitoring for Flutter. Know your app broke before your users tell you.

blipit_flutter #

Blipit error monitoring for Flutter. Know your app broke before your users tell you.

Install #

flutter pub add blipit_flutter

Quick start #

Replace runApp in main.dart with Blipit.init.

import 'package:blipit_flutter/blipit_flutter.dart';

Future<void> main() async {
  await Blipit.init(
    key: '<public key>',
    project: <project id>,
    environment: 'production',
    release: 'myapp@1.4.2',
    appRunner: () => runApp(const MyApp()),
  );
}

Both values are on the project's Keys page at app.blipit.io. Unhandled Dart errors and native crashes on iOS and Android are reported on their own.

Manual capture #

await Blipit.captureException(err, stackTrace: stack);
await Blipit.captureMessage('cache miss rate above 50%', level: SentryLevel.warning);
await Blipit.setUser(SentryUser(id: '42', email: 'ana@example.com'));
await Blipit.setTag('region', 'ap-southeast-1');
await Blipit.addBreadcrumb('opened checkout', category: 'ui');
await Blipit.captureSecurity('login_failed', 'ana@example.com', ip: '10.0.0.1');
await Blipit.close();

Bug reports #

Wrap your app in BlipitReporter; showButton: true adds the floating Report a bug button, and Blipit.showReport() opens the reporter from your own menu:

appRunner: () => runApp(const BlipitReporter(showButton: true, child: MyApp())),

The reporter asks first: Take a screenshot or Skip. The screenshot opens full screen with the tools above and below it; pinch or double-tap to zoom, mark the problem, then add a title and what happened and send. Reports arrive under Bug reports at app.blipit.io.

Performance #

Pass tracesSampleRate: 0.2 to init and navigation and requests show up on the Performance page.

Docs: https://docs.blipit.io/mobile

0
likes
140
points
374
downloads

Documentation

API reference

Publisher

verified publisherblipit.io

Weekly Downloads

Blipit error monitoring for Flutter. Know your app broke before your users tell you.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, http, sentry_flutter

More

Packages that depend on blipit_flutter