0

I am developing an apple watch app where I need device serial id. How do I get it programmatically?

Below question is unanswered. How to get Apple Watch Unique id or UDID or Serial Number Programatically?

and there is no other link to fetch it programmatically.

Community
  • 1
  • 1
Pratz
  • 241
  • 1
  • 5
  • 13
  • 2
    Why would you need it? Apple doesn't make device identifiers available anymore. – HAS Jul 01 '16 at 17:12
  • hmm looks like I have to generate my own token to identify the watch. If I generate my own token and save it in my server then is there any way to save it in watch like localstorage of html5 so that every time my watch makes an http request it sends this token and I can identify the watch? – Pratz Jul 02 '16 at 03:33
  • I have asked this as a separate question to get answer little quick as more people will have a look at a new question. http://stackoverflow.com/questions/38156268/saving-a-token-in-apple-watch-for-authentication – Pratz Jul 02 '16 at 03:45

1 Answers1

2

you can't access the serial number. This was possible in the past on the phone and was deprecated by Apple. After that people used to generate an id using mac address, this was deprecated and not supported as well shortly after

1) Your server should generate the id on first login, after that you can store the id in the keychain in case the user delete/reinstall the app so you can restore state for the user

2) You can use alternate methods to get an id, e.g. facebook login, gamecenter..

Ultrakorne
  • 1,303
  • 11
  • 18