I am creating a watch application which is a standalone app. I need to generate QR code from any unique ID but I did not get from apple watch. is there any solution for get or generate Unique ID from apple watch?
Asked
Active
Viewed 425 times
2 Answers
0
To grab the watch device’s uid (vendor specific)
WKInterfaceDevice.current().identifierForVendor

elight
- 562
- 2
- 17
-
As i show it is in beta, please look : https://developer.apple.com/documentation/watchkit/wkinterfacedevice – Jatin Patel Mar 05 '20 at 07:13
-
That’s okay. Just get the SDK. It won’t be in beta forever ;) – elight Mar 05 '20 at 14:51
0
Try to generate UniqueId with current TimeStamp Value, It will be always unique

Vineeth Bodipudi
- 11
- 3
-
But what about when i uninstall and re-install? because we need to login with same unique ID. – Jatin Patel Mar 05 '20 at 07:15
-
Then how about you display this unique id to your users within the app so that they can store it somewhere. And add a restore data/profile option in which users can enter their previously stored id and restore their app to it's previous state before uninstall. – Ayazmon Mar 05 '20 at 08:23