Open burawi opened 6 years ago
The same is happening to me.
It works fine on Virtual Devices, but on my physical device the phoneNumber parameter is empty.
countryCode, simOperator, carrierName are fulfilled, but phoneNumber is returned like this:
"phoneNumber": ""
Virtual Devices tested: Google Nexus One API 23, Google Nexus 5x API 27 Physical device: OnePlus One - Android 6.0.1.
¿Could you please help us?
I have the same problem on physical device. "phoneNumber" is empty.
Same problem.
Hi all!! someone knows about this issue?? i tried get my phoneNumber but im getting an empty string too.
Same problem, there is a new solution for that????
Hey all anyone got any solution to these I'm having the same problem.
Was just researching this and the problem is addressed here: cordova-plugin-sim "Notice: the content of phoneNumber is unreliable (see here, here, and here article). Sometimes phoneNumber is only an empty string."
This issue should be closed.
I added
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
inApp_Resources/android/AndroidManifest.xml
, rebuilt the app then run it. And got an empty string inphoneNumber