Search packages, repositories and app categories

Package detailsv2.6.1

instabug_dio_interceptor

This package is an add on to instabug_flutter. It intercepts any requests performed with Dio Package and sends them to the report that will be sent to the dashboard.

AndroidiOS
30-day downloads
183
Likes
3
Pub points
160

Install package

flutter pub add instabug_dio_interceptor

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Instabug Dio Interceptor

CircleCI pub package

This package is an add on to 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:

var dio = new Dio();
dio.interceptors.add(InstabugDioInterceptor());

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package

No data available yet.