fr.edps.cordova.cellular
This plugin defines a global cellular
object, which describes the cellular GSM.
Although the object is in the global scope, it is not available until after the deviceready
event.
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(cellular.operator);
}
Installation
cordova plugin add https://github.com/jimibi/Cellular
Properties
- cellular.cellID
- cellular.lac
- cellular.psc
- cellular.imei
- cellular.operator
- cellular.neighbors
Beta version not for public use now.