https://github.com/instabug/instabug-dio-interceptor
A Dio interceptor for use with Instabug's Flutter SDK.
https://github.com/instabug/instabug-dio-interceptor
Last synced: over 1 year ago
JSON representation
A Dio interceptor for use with Instabug's Flutter SDK.
- Host: GitHub
- URL: https://github.com/instabug/instabug-dio-interceptor
- Owner: Instabug
- License: mit
- Created: 2019-06-25T13:47:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T21:27:02.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T01:34:35.314Z (almost 2 years ago)
- Language: Dart
- Size: 116 KB
- Stars: 3
- Watchers: 24
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Instabug Dio Interceptor
[](https://circleci.com/gh/Instabug/Instabug-Dio-Interceptor)
[](https://pub.dev/packages/instabug_dio_interceptor)
This package is an add on to [Instabug-Flutter](https://github.com/Instabug/Instabug-Flutter).
It intercepts any requests performed with `Dio` Package and sends them to the report that will be sent to the dashboard.
## Integration
To enable network logging, simply add the `InstabugDioInterceptor` to the dio object interceptors as follows:
```dart
var dio = new Dio();
dio.interceptors.add(InstabugDioInterceptor());
```