Network Breadcrumbs for Bugsnag Flutter
HTTP networking breadcrumbs for bugsnag_flutter when using the dart:io
HttpClient.
If you are using the http package then bugsnag_breadcrumbs_http should be used for networking breadcrumbs.
Getting Started
- Install bugsnag_flutter
- Add bugsnag_breadcrumbs_dart_io to your project:
flutter pub add bugsnag_breadcrumbs_dart_io
- Import
bugsnag_breadcrumbs_dart_io.dart
and useBugsnagHttpClient
instead ofHttpClient
:
import 'package:bugsnag_breadcrumbs_dart_io/bugsnag_breadcrumbs_dart_io.dart';
final httpClient = BugsnagHttpClient();
final request = await client.getUrl(Uri.parse('https://example.com'));
License
The Bugsnag Flutter notifier is free software released under the MIT License. See the LICENSE for details.