var deviceSettings = System.getDeviceSettings();
// Check if device supports this.
if (deviceSettings has :uniqueIdentifier) {
uniqueID = (deviceSettings.uniqueIdentifier).toNumber();
}
if (uniqueID == null) {
// Can't get unique ID on device set static ID.
uniqueID = 0xABCD;
}On a Fenix 5S this works as expected. The version on it is 2.4.1. However on both a Fenix 5 and 5X that are both on 2.4.1 the uniqueID evaluates to null. The only difference is that on the 5 and 5X I upgraded the watch from v2.3.x to 2.4.1 myself. Whereas the 5S came updated with 2.4.1 on delivery.
I don't really know why it is evaluating to null on both watches when the CIQ version is clearly 2.4.1 as reflected by the watche's about pages. There must be something I'm missing. Any help would be appreciated!