In case you have a scenario where you need top show some message or do something in your Jet application when you are online or offline then you need to add a plugin (cordova-plugin-network-information) in your app.
Go to the Hybrid folder in your app and run the following command as shown below
Go to the Hybrid folder in your app and run the following command as shown below
cordova plugin add cordova-plugin-network-information
No comments:
Post a Comment