Skip to content

Sync requires validated Internet connection #1070

Answered by rfc2822
AntiSol asked this question in General
Discussion options

You must be logged in to vote

I understand, but on the other side, if you disable Android functions with some extra firewall, it's possible that things break and then cause extra work.

Also I have found something: the sync worker requires a working (validated) Internet connection:

.setRequiredNetworkType(NetworkType.CONNECTED) // require a network connection

So if your firewall blocks the Internet detection of JobScheduler (usually done by some request to some static Google or vendor host like https://android.stackexchange.com/questions/134963/change-the-server-that-android-uses-for-an-internet-conne…

Replies: 5 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@AntiSol
Comment options

@ArnyminerZ
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
12 replies
@AntiSol
Comment options

@rfc2822
Comment options

@AntiSol
Comment options

@rfc2822
Comment options

Answer selected by AntiSol
@AntiSol
Comment options

@rfc2822
Comment options

@AntiSol
Comment options

@rfc2822
Comment options

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