I want to know if there is a unique ID for an Android and iOS Device, available in React Native. Also, the ID shouldn't change over app installs and OS install and upgrades. However, if it isn't, which Native Module should I use to get a unique ID. I actually need a unique ID to register my device at the server and send data to that device only. I don't really know if this is possible. As I searched, I found TelephonyManager.getDeviceId() for Android but could not found something for iOS. I did find identifierForVendor and identifierForAdvertising but they do change after resetting or upgrading OS
↧