Ionic Sim card


#1

How to get value of info in getSiminfo() function. whats the parameter? thanks


#2

https://ionicframework.com/docs/native/sim/


#3

Sorry I meant in ionic 2 whats the parameter to get the object. I am only get [object Object] when I use getsiminfo(). thanks


#4

What else do you want? You then have an object that contains the requested data. Look at the usage examples at https://ionicframework.com/docs/native/sim/


#5

Can i get the telephone number from getsiminfo()?


#6

Read the docs…

For iOS: https://github.com/pbakondy/cordova-plugin-sim#ios-emulator-results No.
For Android: https://github.com/pbakondy/cordova-plugin-sim#android-emulator-results Yes.