pionne_flutter 0.3.1 copy "pionne_flutter: ^0.3.1" to clipboard
pionne_flutter: ^0.3.1 copied to clipboard

Error monitoring SDK for Flutter — Pionne. Auto-captures Flutter framework errors and unhandled async errors, ships rich runtime context (Dart version, OS, device, locale), and tracks Release Health ( [...]

pionne_flutter #

Error monitoring SDK for Flutter — by Pionne.

Auto-captures Flutter framework errors and unhandled async/zone errors, ships rich runtime context (Dart version, OS, locale, debug/release mode). Single dependency: http. Wire-format compatible with @pionne/react-native, @pionne/web, @pionne/node.

🎫 Get your token #

Pionne is mobile-first: you sign up, create projects, and watch your error feed from the Pionne mobile app, not a web dashboard.

  1. Download the app:
  2. Create your account (30 days free, no card required)
  3. + New project → pick Flutter → copy the token displayed (pio_live_…)
  4. Paste it into Pionne.init(PionneOptions(token: ...)) below

⚠️ The token is only shown once at project creation — load it from --dart-define=PIONNE_TOKEN=… at build time, never hard-code it in source.

Install #

dependencies:
  pionne_flutter: ^0.1.0
flutter pub get

Usage #

import 'package:flutter/material.dart';
import 'package:pionne_flutter/pionne_flutter.dart';

void main() {
  Pionne.init(PionneOptions(
    token: 'pio_live_xxx',
    release: '1.0.0',
  ));

  // Wrap the app to also catch zone errors:
  Pionne.runZonedGuarded(() => runApp(const MyApp()));
}

That's it. Flutter framework errors and unhandled async errors are now reported.

Manual capture #

try {
  await processOrder();
} catch (e, stack) {
  Pionne.captureException(e,
    stackTrace: stack,
    tags: {'feature': 'checkout'},
  );
  rethrow;
}

Pionne.captureMessage('user reached empty state', level: Level.info);

User identity, tags, opt-out #

Pionne.setUser('u_42');
Pionne.setTags({'tier': 'pro'});
Pionne.setEnabled(false);

License #

MIT

0
likes
0
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

Error monitoring SDK for Flutter — Pionne. Auto-captures Flutter framework errors and unhandled async errors, ships rich runtime context (Dart version, OS, device, locale), and tracks Release Health (crash-free user rate per release).

Homepage
Repository (GitHub)
View/report issues

Topics

#error-monitoring #crash-reporting #observability #sentry-alternative #pionne

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on pionne_flutter