Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify user across devices on iOS?

Tags:

xcode

ios

iphone

I am working on an app where user will be buying some "credits" as in-app purchases and use them to buy some services inside the app. As user can has more then one device I need to identify him across different devices.

I understand I can create some logging (and store user accounts on my own server) but I would like to avoid this. In best case I would like to use Apple ID but I can't figure out how can I access Apple ID inside an app?

I found similar questions here but no satisfying answer. I do not believe there is no chance to access Apple ID from the app (I don't need password, just the id) as I found something like AVMetadataiTunesMetadataKeyAppleID in AVFoundation but this framework seems to be only for Mac OS X.

Any suggestion how to solve this?

like image 489
Engeor Avatar asked Oct 04 '11 16:10

Engeor


1 Answers

Sorry. There's no way to do it without implementing your own authentication system on your own server. UDIDs are unique to each device and Apple does not give access to the iTunes user account whatsoever.

like image 143
Matt Williamson Avatar answered Oct 05 '22 17:10

Matt Williamson