Page 1 of 1

Hide iframe when the user is no internet

Posted: Mon Aug 29, 2016 12:11 am
by Jackson Meira Santos

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.


Hide iframe when the user is no internet

Posted: Mon Aug 29, 2016 8:38 am
by Illya Stepanov

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...


Hide iframe when the user is no internet

Posted: Tue Aug 30, 2016 12:18 am
by Jackson Meira Santos

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


Hide iframe when the user is no internet

Posted: Tue Aug 30, 2016 12:45 pm
by Illya Stepanov

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