Jackson Meira Santos
Posts: 0
Joined: Sun Aug 28, 2016 11:53 pm

Hide iframe when the user is no internet

I have a page with an iframe that works well, the problem is that when the user is no internet, android creates a connection error and displays the URL of the iframe, it can not happen, to preserve customer data. How can I desabiitar or edit this error screen? I tried in various ways, but without success.

Sorry I'm English, I am Brazilian.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Hide iframe when the user is no internet

Hi -

If your app is running on the device you can use Cordova Network information plugin it is included in Core Cordova plugins in every Appery.io project and check the state of the Internet connection on the device.
Check out the official documentation here: https://github.com/apache/cordova-plu...

Jackson Meira Santos
Posts: 0
Joined: Sun Aug 28, 2016 11:53 pm

Hide iframe when the user is no internet

Thanks but still can not configure. Is there any way the button have a link online and offline?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Hide iframe when the user is no internet

There is no such pre-build functionality, this should be developed by you.

Return to “Issues”