Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dio is not able to process the requests with new QueuedInterceptorsWrapper on resuming the app again after putting it in background for 20-30 min #1630

Closed
1 task
suryamolly opened this issue Feb 10, 2023 · 3 comments

Comments

@suryamolly
Copy link

New Issue Checklist

  • I have searched for a similar issue in the project and found none

Issue Info

Info Value
Platform Name flutter
Platform Version 3.3.6
Dio Version 4.0.6
VS code Version version 1.75.0
Repro rate All the time (100%)
Repro with our demo prj Unknown
Demo project link NA

Issue Description and Steps

I have encountered a strange behaviour with the version (4.0.6) while using the QueuedInterceptorsWrapper class , After the app is switched to foreground after keeping the app in background for 20-30 minutes. Dio library is not able to process the requests.

Step to reproduce

  1. Launch the app
  2. Minimise the app in the background/app switcher menu (not to kill app.) keep app in background for 20-30 min.
  3. Move app to foreground from background via app switcher menu.
  4. Observe the behaviour.

Expected behaviour

Dio should be able to take the requests and process it accordingly.

Actual Behaviour

Dio is not able to process the requests , No logs are produced, looks like Dio is not responding.

@suryamolly suryamolly changed the title Dio is not able to process the requests after app is put to foreground after app was put to background for 20-30 min. Dio is not able to process the requests with new QueuedInterceptorsWrapper on resuming the app again after putting it in background for 20-30 min Feb 10, 2023
@lsuhov
Copy link

lsuhov commented Feb 13, 2023

Hello @AlexV525 ,
Can you tell us why this issue has been closed?
Thank you

@AlexV525
Copy link
Member

See #1607

@vimaxwell
Copy link

@lsuhov do u have same issue with dio 5.0.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants