Is it safe to use a react-native-device-info unique ID? From what I can understand it will always remain unique for both iOS and android no matter how many times the app will be uninstalled.
If not kindly suggest what else we can use to uniquely identify the device since I want to make sure every user login with a separate device.
const uniqueId = DeviceInfo.getUniqueID();
// iOS: "FCDBD8EF-62FC-4ECB-B2F5-92C9E79AC7F9"
// Android: "dd96dec43fb81c97"
Notes
iOS: This is IDFV so it will change if all apps from the current apps vendor have been previously uninstalled. android: Prior to Oreo, this id (ANDROID_ID) will always be the same once you set up your phone.