Skip to content

gojitsucom/Instabug-Dart-http-Adapter

 
 

Repository files navigation

instabug_http_client

A dart package to support Instabug network logging for the external dart http package.

Getting Started

You can choose to attach all your network requests data to the Instabug reports being sent to the dashboard. See the details below on how to enable the feature for the http package.

Installation

  1. Add the dependency to your project pubspec.yml:
dependencies:
  instabug_http_client:
  1. Install the package by running the following command.
flutter packages get

Usage

To enable logging, use the custom http client provided by Instabug:

final client = InstabugHttpClient();

Then proceed to use the package normally:

final response = await client.get(Uri.parse(URL));

About

An adapter for Dart's http package for use with Instabug.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 88.1%
  • Ruby 5.7%
  • Java 2.3%
  • Swift 1.7%
  • Shell 1.5%
  • Kotlin 0.5%
  • Objective-C 0.2%