The instabug_http_client package enhances the instabug_flutter SDK by automatically intercepting HTTP requests made through the http package. It captures request and response details, including headers, URLs, and status codes, and includes them in crash or feedback reports sent to the Instabug dashboard. This helps developers debug network-related issues more efficiently by providing full context of failed or problematic HTTP interactions directly within their reports. The integration is seamless and requires minimal setup.
Use cases
- Debugging failed API calls
- Tracking network request behavior
- Enhancing crash reports with HTTP context
- Monitoring performance of HTTP endpoints
- Automatically logging network errors
Key features
- Intercepts http package requests
- Attaches HTTP details to reports
- Seamless integration with instabug_flutter
- Automatic error logging for network calls
- Supports both Android and iOS
Suitable for
- Flutter apps using instabug_flutter
- Teams focused on debugging network issues
- Apps requiring detailed HTTP logging
- Developers using the http package extensively
- Projects needing enhanced crash reporting
Considerations
- Requires instabug_flutter to be set up
- May increase report size due to HTTP data
- Not compatible with non-http package requests
- Limited to HTTP client interception only
- Dependent on Instabug backend services