Please provide the following:
- SDK Version: 36
- Platforms(Android/iOS/web/all):IOS
Replace this section with as much relevant information as possible and any relevant code along with your question.
I am trying to get unique UUID for device , but I am getting all time undefined, i tried to run app on simulator and device both.
here is How I am getting.
if(Constants.isDevice){
if(Constants.deviceId){
console.log('deviceID:', Constants.deviceId );
this.updateContext('deviceID', Constants.deviceId);
}else{
console.log('InstallationId:', Constants.deviceId );
this.updateContext('deviceID', Constants.installationId);
}
}else{
this.updateContext('deviceID', 'FCDBD8EF-62FC-4ECB-B2F5-92C9E79AC7F9');
}