Friday, June 2, 2017

Adding Plugin in Oracle Jet to check if the app is connected to network or not

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

cordova plugin add cordova-plugin-network-information


No comments:

Post a Comment

Push notification in Oracle JET Hybrid application

Below are the main steps involved: First android device sends Sender ID, application ID to GCM/FCM for registration Upon successful reg...