Page 2 of 2

how to check internet connection

Posted: Thu Nov 05, 2015 7:24 am
by zaik

How can app knows if internet is available or not without clicking on nay event ?
For example
I am filling some form and before saving and my internet goes.
In offline mode I click save and store my form values in my local storage.
After some time internet will come and I am on other screen.
I want to automatically send my form values to server.
But how should I tell the app that internet is available now.
App can send data to server in back-end.


how to check internet connection

Posted: Thu Nov 05, 2015 9:06 pm
by Serhii Kulibaba

Hello Zaik,

Please use events "online" and "offline" for that: https://devcenter.appery.io/documenta...