UniqueDeviceID icon indicating copy to clipboard operation
UniqueDeviceID copied to clipboard

Does not work on Android API23

Open confile opened this issue 9 years ago • 8 comments

On API 23 I have:

 <uses-permission android:name="android.permission.READ_PHONE_STATE" />

but still I get this error:

java.lang.SecurityException: getDeviceId: Neither user 10058 nor current process has android.permission.READ_PHONE_STATE.

confile avatar Oct 12 '15 14:10 confile

Please check version 1.3.1

Paldom avatar Dec 10 '15 23:12 Paldom

I have the same issue even with the new version. the permission is correctly added to the AndroidManifest, but still it throw that error.

winstef avatar Mar 04 '16 04:03 winstef

Hi! Does anyone get the solution for this issue. Even for me also it happening in the same. If I open the app first time then UUID will not generated. If I open for second time then it will give the UUID number.

mohanchalla avatar Apr 05 '16 08:04 mohanchalla

Hello, Are there any solutions for this bug? Using version 1.3.1, get an error:

java.lang.SecurityException: Neither user nor current process has android.permission.READ_PHONE_STATE

ghost avatar May 08 '16 14:05 ghost

Hello, Any updates on this? Still not working after target api 23 update..

avisarine avatar Aug 16 '16 13:08 avisarine

+1

Trying to find a solution ...

HriBB avatar Sep 05 '16 10:09 HriBB

Found the solution.. I have updated cordova, iOS and Android for cordova, and all plugins.. Works good on both.

avisarine avatar Sep 05 '16 10:09 avisarine

We are now maintaining a fork of this repository https://github.com/wizpanda/cordova-plugin-unique-device-id2.

sagrawal31 avatar May 21 '19 08:05 sagrawal31