Hi team -
I'm in the middle of porting the iOS ExampleApp from Obj-C to Swift 3. I'll be happy to share that with you (Garmin) and the community once it's finished.
However I'm running into a problem that I'm hoping you can help me with.
After the GCM redirect, I receive the following URL as expected in the redirect back to the app:
pushmeter1233://device-select-resp?ciqApp=Connect&ciqBundle=com.garmin.connect.mobile&ciqScheme&ciqSdkVersion=10000&d0ID&d0Model=Edge%20520&d0Name=Edge%20520
Based on what I've seen from other threads on here, this response seems complete and correct correct.
In the next step I send this URL to ConnectIQ like so to retrieve my devices:
let devices = ConnectIQ.sharedInstance().parseDeviceSelectionResponse(from: url)
This returns back an array of IQDevice objects, as expected, which for me is one device: an Edge 520. However, the device has a UUID that has a value of 00000000-0000-0000-0000-000000000000.
[IQDevice: 0x7003e220, uuid = 00000000-0000-0000-0000-000000000000, modelName = "Edge 520", friendlyName = "Edge 520"]
Is this a known issue or user error? All subsequent calls with this device (such as ConnectIQ.sharedInstance().getDeviceStatus(device)) return predictably unhelpful results.