Device serial number VS uniqueIdentifier

I am trying to obtain the devices serial number (the number that appears in the .FIT file 'File ID' row) within my Watch App so I can identify users making calls to our web service. 

The closest I can find it the DeviceSettings.uniqueIdentifier but this seems to be a different ID?

Is there a way to obtain the serial....or better still get the users Garmin Connect user ID?

Thanks

  • This is how it works on most platforms I've worked with. It also changes if the app is reinstalled (I'm not sure about Garmin, but I assume it's the same) or the device is reset. That's why using such an ID is quite pointless—it's better to generate own UUID on the first launch and store it persistently, if possible.

    Why actually know what Garmin does when you can just assume stuff. 

    The uniqueid does not change with rebuilds. 

  • am trying to obtain the devices serial number (the number that appears in the .FIT file 'File ID' row) within my Watch App so I can identify users making calls to our web service. 

    The closest I can find it the DeviceSettings.uniqueIdentifier but this seems to be a different ID?

    Is there a way to obtain the serial....or better still get the users Garmin Connect user ID?

    Users aren’t going to want apps to be able to quietly upload their Connect ID (this is a horrible idea).

    Garmin clearly doesn’t want you to use the serial number (which is why IQ doesn’t provide it. Using such an identifier would be a horrible privacy prospect.

    ==================

    The way I do it is have my app call a website the user has an account on to register the device ID. This means the connection between the user/device and the website is “opt in”. It also lets users be able to use multiple devices.