oncall_error_tracking 0.1.0 copy "oncall_error_tracking: ^0.1.0" to clipboard
oncall_error_tracking: ^0.1.0 copied to clipboard

OnCall Error Tracking SDK for Flutter. Capture and report errors with automatic FlutterError hooks, zone-based catching, and navigation breadcrumbs.

OnCall Error Tracking SDK for Flutter #

Capture and report errors from your Flutter apps to OnCall.

Installation #

dependencies:
  oncall_error_tracking: ^0.1.0

Usage #

import 'package:oncall_error_tracking/oncall_error_tracking.dart';

void main() {
  final client = OnCallClient.init(OnCallOptions(
    dsn: 'https://<key>@errors.oncallteams.com/api/<projectId>/store',
    environment: 'production',
  ));

  runWithOnCall(client, () => runApp(MyApp()));
}

Features #

  • Automatic error capture via FlutterError.onError and PlatformDispatcher.onError
  • Zone-based async error catching with runZonedGuarded
  • Navigation breadcrumbs via OnCallNavigatorObserver
  • Manual error/message capture
  • User context, tags, and breadcrumbs
  • Retry with exponential backoff + 429 rate limit handling
0
likes
0
points
117
downloads

Publisher

verified publisheroncallteams.com

Weekly Downloads

OnCall Error Tracking SDK for Flutter. Capture and report errors with automatic FlutterError hooks, zone-based catching, and navigation breadcrumbs.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on oncall_error_tracking