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();

Performance

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

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

Libraries

blipit_flutter