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

Issue with API call when android device is connected via wifi. #2235

Closed
TechnologyGardening opened this issue Jun 7, 2024 · 1 comment
Closed

Comments

@TechnologyGardening
Copy link

Request Statement

Is there anyway or method in dio using which dio can forward request via wifi. because dio is working fine with mobile data, but unable to connect via wifi.

Solution Brainstorm

is there any way to check for internet connection and dio can be configured to use available connection.

@TechnologyGardening TechnologyGardening added the s: feature This issue indicates a feature request label Jun 7, 2024
@kuhnroyal
Copy link
Member

Dio by default uses the HttpClient from the Dart SDK.
Wifi just works. If it does not, then you have some other problem.
Nothing dio can do here.

You can try to use the native_dio_adapter and see if that changes anything.

@AlexV525 AlexV525 added i: not related and removed s: feature This issue indicates a feature request labels Jun 8, 2024
@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants