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);
}
cordova plugin add https://github.com/jimibi/Cellular
- cellular.cellID
- cellular.lac
- cellular.psc
- cellular.imei
- cellular.operator
- cellular.neighbors
Beta version not for public use now.