instabug / instabug-dio-interceptor Goto Github PK
View Code? Open in Web Editor NEWA Dio interceptor for use with Instabug's Flutter SDK.
License: MIT License
A Dio interceptor for use with Instabug's Flutter SDK.
License: MIT License
Package is throwing an exception when I plug it into my dio:
flutter: The following ArgumentError was thrown:
flutter: Invalid argument: Instance of 'ResponseBody'
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0 StandardMessageCodec.writeValue (package:flutter/src/services/message_codecs.dart:404:7)
flutter: #1 StandardMessageCodec.writeValue.<anonymous closure> (package:flutter/src/services/message_codecs.dart:401:9)
flutter: #2 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
flutter: #3 StandardMessageCodec.writeValue (package:flutter/src/services/message_codecs.dart:399:13)
flutter: #4 StandardMessageCodec.writeValue (package:flutter/src/services/message_codecs.dart:394:9)
flutter: #5 StandardMethodCodec.encodeMethodCall (package:flutter/src/services/message_codecs.dart:536:18)
flutter: #6 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:151:13)
flutter: #7 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
flutter: #8 NetworkLogger.networkLog (package:instabug_flutter/NetworkLogger.dart:17:27)
Edit: nevermind this happens when I'm downloading a file, which returns an 'instance of ResponseBody' so it doesn't have to do with the interceptor, but with the mapping of the NetworkData not handling a ResponseBody object
Originally posted by @JoseGeorges8 in #4 (comment)
Please update dependency for latest Dio update
Please add Dio version 3 support. thank you
Because every version of instabug_dio_interceptor depends on dio ^2.1.7 and module depends on dio ^3.0.9, instabug_dio_interceptor is forbidden.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.