- Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi guys, I just tried to see if the new dio v4.0.6 resolved the issue mentioned in your documentation https://docs.flagsmith.com/clients/flutter#known-issues
"If using the package Dio, you may encounter an error saying Bad state: Future already completed. There is a bug in the Dio package, introduced in 4.0.5 (and as of writing this on 12/09/2022, is unresolved). To resolve, you'll need to pin your Dio version in pubspec.yaml to 4.0.4 or earlier."
Unfortunately this is not the case.
I'll attach my test results as screenshots.
I reproduced it easily, by just locking the dio version in the sdk itself & in the example application.
Then start it for web - see if the error occurs.
Here you can see the result with different version - 4.0.4, 4.0.5, 4.0.6