1

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?

Jatin Patel
  • 396
  • 3
  • 14

2 Answers2

0

To grab the watch device’s uid (vendor specific)

WKInterfaceDevice.current().identifierForVendor
elight
  • 562
  • 2
  • 17
0

Try to generate UniqueId with current TimeStamp Value, It will be always unique

  • 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