The instabug_dio_interceptor package enhances the instabug_flutter SDK by automatically capturing and sending HTTP requests made with the Dio package to Instabug's reporting dashboard. It intercepts all Dio requests, including their headers, bodies, and response data, enabling developers to debug network issues directly from the Instabug interface. This integration streamlines troubleshooting by providing full context of failed or unexpected API calls during user sessions. The package is designed for seamless use with Flutter apps on Android and iOS.
Use cases
- Debugging failed API calls
- Monitoring network performance
- Capturing request/response data for bugs
- Integrating with Instabug crash reports
- Real-time issue tracking in production
Key features
- Automatic request interception with Dio
- Sends full request/response details
- Seamless integration with instabug_flutter
- Supports Android and iOS platforms
- Enhances bug reports with network context
Suitable for
- Flutter developers using Dio for HTTP requests
- Teams focused on rapid debugging
- Apps requiring detailed network logging
- Production environments with Instabug monitoring
- Mobile teams using Instabug for crash reporting
Considerations
- Requires instabug_flutter to be installed
- May increase report size with large payloads
- Sensitive data should be filtered before capture
- Not compatible with non-Dio HTTP clients
- Dependent on Instabug backend services