tabris-js
tabris-js copied to clipboard
Suppport navigator.connection.type
Problem description
For apps that work with remote data, it would be advantageous to determine the network state of the user's device in order to be able to e.g.:
- suggest to the user to turn on his network connection if it is disabled
- issue a warning when about to download large amounts of data over a cellular connection
This API has been implemented in the cordova-plugin-network-information plugin, but it would be handy to have it in the core framework.
Environment
- Tabris.js version: 3.5.0