Tizen API: Network - Samsung/cordova-plugin-toast GitHub Wiki
For converting Network API of tizen to TOAST API, please refer to the followings.
Cordova spec (cordova-plugin-network-information)
Please note that network-information plugin is based on cordova spec. If you want get more details for usage, refer cordova-plugin-network-information
privilege
Please add following privilege in the config.xml
<tizen:privilege name="http://developer.samsung.com/privilege/network.public"/>
getActiveConnectionType
-
Before
var activeType = webapis.network.getActiveConnectionType();
-
After
var activeType = navigator.connection.type;