Closed BartusZak closed 3 years ago
Are you by any chance using Flutter for Web?
Hey @CodingAleCR,
That's correct.
I was playing around with your library but at the end I had to user Dio
.
It has interceptors
and supports Web
/Android
and iOS
.
I'm sorry for the confusion, I have not been able to take the time to add support for Web. I'm glad you found a solution for your problems and happy that you are using Flutter. Cheers from Costa Rica my friend! 🥳🥳
Let's leave that issue open then for others.
Pozdrowienia z Polski 👯♂️
This should be fixed as of 0.4.0, it's important that you guys know that the badCertificatesCallback and the findProxy features are not supported on Flutter Web due to browser limitations. Let me know if any other issues persist, also be aware of CORS as while testing I found some issues around it while querying public APIs.
Result:
Unsupported operation: Platform._version
http_interceptor: ^0.3.3
Related to https://github.com/flutter/flutter/issues/39998.
<getObject: NoSuchMethodError: The getter 'uri' was called on null.>
http_client_with_interceptor.dart