supertokens/supertokens-flutter

Dio 4.0.6 doesn't work

Closed this issue · 5 comments

SuperTokensInterceptorWrapper doesn't work.

Error: Bad state future already completed.

This issue should be fixed in version >= 0.1.1.

If not, please feel free to reopen this issue

hi,
i have already downgrade dio v4.0.4 and reinstall supertoken_flutter 0.1.1 but it didn't work.
i get same error "StateError (Bad state: Future already completed)"

Reopening this since its still an issue

Looking into this now

Hi @alpuysal,

We've released a fix for this issue, available in version 0.1.2 of the SDK. We have tested it with Dio 4.0.4 and 4.0.6 and both versions seem to work fine now. Please upgrade to the latest version and let us know if the issue still persists (its still in analysis on pub.dev so should be available in some time).

Closing this issue for now, feel free to re-open if the issue still persists