more information on system.getInfo("deviceID")

As written in the title I would like more information on this.

I know that if the app is deleted and re-installed on some devices this id changes.

This is fine with me.

But I have seen that things change if, for example, I require use "** android.permission.READ_PHONE_STATE"**.

So basically I would like to know how:

_Have a device id that does not change every time you close and open the app.(I’m not talking about uninstalling and reinstalling)

_The code works for both iOS and Android

_on android it is better to activate or not permission "** android.permission.READ_PHONE_STATE"**

_if this is necessary: https://docs.coronalabs.com/api/library/system/getInfo.html#handling-android-6-device-id

Thank you all, I hope I have explained myself well

Hi,

This might be helpful https://develephant.github.io/uuid-plugin/

-dev

Hi,

This might be helpful https://develephant.github.io/uuid-plugin/

-dev