<cordova-connection>
<cordova-connection>
provides information about the device's cellular and
wifi connection, and whether the device has an internet connection.
Installation
In your www
project:
bower install --save cordova-connection
In your cordova
project:
cordova plugin add cordova-plugin-network-information
Usage
<cordova-connection
online
ready
type="4G"
></cordova-connection>
<cordova-connection>
allow to read the state of the device's connection
in the current moment. ready
means cordova is fully operative and
type
shows the kind of connection.
Note
Due to restrictions ready
attribute is not shown into attributes table.