Exit (close) app when device disconnected!

Hello everybody, im new in App inventor and sorry about my english.
and this my question :
How to exit (close) app when device disconnected from internet (turn off wifi/4g)?
Thank you very much.

Your app will need an "internet checker". You can do this with some blocks or with an extension.

Once you have this setup it is simply a case of closing the app when there is no internet connection.

1 Like

Major drawback of both methods is that you will have to continuously check for internet connection.
Here the following extension does not need that:

Note: it may not work on Android Q and above.

1 Like

Thank you very much.
I use webviewer and i dont want show my web url when device disconnected, and this my blockCapture

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.