i tried to install this pluging but i got error when calling the get function, am using the code below
var telephoneNumber = cordova.require("cordova/plugin/telephonenumber");
telephoneNumber.get(function(result) {
alert("simSerialNumber = " + result.simSerialNumber); // number sim
alert("line1Number = " + result.line1Number); // telephone number (if insert sim)
}, function() {
console.log("error");
});
and am getting the error
module cordova/plugin/telephonenumber not found:18891
any idea ?