Dial code from country code (mcc) using Cordova, ionic -
how dial code mcc (mobile country code)?
eg. india has
404or405mccvarious network operators,+91standard dial-code.
i using cordova-plugin-sim plugin of cordova.
when use window.plugins.sim.getsiminfo function, info through json response (i have not shown info privacy/security reasons):
callstate: 0 carriername: "bsnl mobile" countrycode: "in" dataactivity: <some number> deviceid: "<some id integer>" devicesoftwareversion: "<a 2 digit code>" isnetworkroaming: false mcc: "404" mnc: "66" networktype: 10 phonenumber: "<my mobile number without dial code>" phonetype: 1 simserialnumber: "<sim serial number, long one>" simstate: 5 subscriberid: "<subscriber id, long one>" do need use api dial code using information window.plugins.sim.getsiminfo?
Comments
Post a Comment