Skip to content
Discussion options

You must be logged in to vote

No, it does not trigger when the wifi lost access to the internet.
I have used Android, set up WiFi access point, build the app, connected this phone to the WiFi access point and then turn off the mobile data which (internet access). The connectivityChanged does not trigger.

You can read about this in the Limitation section of the documentation.

You could have a timer, for example, every 6 seconds, checking if the Internet is available. How to use Connectivity?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by darren-kay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant