zaik
Posts: 0
Joined: Wed Sep 09, 2015 7:15 am

how to check internet connection

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

how to check internet connection

Hello Zaik,

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

Return to “Issues”