-
Notifications
You must be signed in to change notification settings - Fork 99
unable to fetch IMEI number on android 10 #91
Comments
That is an OS limitation, nothing can be done about it :
|
In Android 10 IEMI No is encrypted with Android App Id. try {
} catch (Exception ex) {
} |
Native developer can access with the above code snippet. |
Settings.Secure.ANDROID_ID is not IMEI. It is a unique ID, but not IMEI.
Also the value of ANDROID_ID is available via cordova-plugin-device in the device.uuid value, there is no point in duplicating functionality. Relevant line of cordova-plugin-device : |
is there going to be updated soon ? at the moment the plugin cannot work in android 10 |
Expected behaviour
Fetch IMEI number on android 10
Actual behaviour
IMEI number return null
I'm seeing this behaviour on
Remove this hint: these checkboxes can be checked like this: [x]
I am using
Hardware models
Example: Samsung Galaxy S6, iPhone 6s
OS versions
Example: Android 4.4.2, iOS 9.2
I've checked these
deviceready
to fire.window.onerror
catches nothing).So how can we reproduce this?
Provide the used components versions (cordova, ionic, etc).
Provide the steps to reproduce the issue.
Provide files, sources if available.
The text was updated successfully, but these errors were encountered: