Giter VIP home page Giter VIP logo

instabug-dio-interceptor's People

Contributors

a7medev avatar ahmedalaainstabug avatar alyezz avatar bsameh-at-instabug avatar davidmina96 avatar heshammegid avatar koalityjustin avatar mahmoudmehisen avatar mzelzoghbi avatar saileshbro avatar shehabeldeenibrahim avatar thebuggedyrn avatar ymabdallah avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

instabug-dio-interceptor's Issues

Update `instabug_flutter` version

Hi there ✋

I was updating the instabug_flutter version to 12.5.0 and using the instabug_dio_interceptor package in its latest version (2.2.0). However, the error below appears when I try to update the instabug_flutter.

Screenshot 2024-01-09 at 4 46 14 PM

Invalid argument: Instance of 'ResponseBody' when downloading a file

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)

Dio version 3

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.