Installing TelephonenumberPlugin?


#1

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 ?


#2

Hi firaskudsy, you run this plugin? if yes, please say how?
I asked this question in this thread: Using plugins from Cordova Plugins Registry