Skip to content

Google access problem stuck download #129

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

Closed
yuxizhe opened this issue Sep 25, 2019 · 3 comments
Closed

Google access problem stuck download #129

yuxizhe opened this issue Sep 25, 2019 · 3 comments

Comments

@yuxizhe
Copy link

yuxizhe commented Sep 25, 2019

In some areas, such as China, we can't access Google, but native Android will try to connect to Captive Portal Server under WiFi to determine network connection. The server address defaults to Google.com, so in some areas, Android shows disconnect. but in fact, we can access the network.

image

In this case, when I want to download, the process will be stuck in 0, because NetworkType.CONNECTED is required, but Android shows a disconnect.

What about removing this RequiredNetworkType?

yuxizhe added a commit to yuxizhe/flutter_downloader that referenced this issue Sep 25, 2019
maybe fix: fluttercommunity#129 

But I don't think its a good solution... 🤔
@yuxizhe
Copy link
Author

yuxizhe commented Sep 25, 2019

maybe it also the reason for this problem #105

bytemain pushed a commit to riril/flutter_downloader that referenced this issue Jul 1, 2020
maybe fix: fluttercommunity#129

But I don't think its a good solution... 馃
@bartekpacia
Copy link
Collaborator

Closing. See this for some context.

@bartekpacia bartekpacia closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2022
@lxl518000
Copy link

i removed .setRequiredNetworkType(NetworkType.CONNECTED) and it works well. on debug mode.

but now work on release mode.

could somenoe help me?
@bartekpacia

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

Successfully merging a pull request may close this issue.

3 participants