Why apps report no internet on connected Wi-Fi: captive portals and dead uplinks
Developers are receiving bug reports from hotels, airports, trains and offices where phones show full Wi-Fi signal but apps fail to load or report no internet. The article attributes this to captive portals, which intercept traffic until a user logs in, to Wi-Fi networks with a dead uplink to the internet, and to networks that block specific domains or ports. Such conditions often cause HTTPS certificate errors or HTML responses where JSON is expected, which can look like a server fault to users. The piece advises checking Android's NET_CAPABILITY_VALIDATED flag and iOS path status, classifying network-related failures before displaying them, and checking Content-Type before decoding responses.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in