问题
i want to access transaction id or something unique id when the app is first purchased and downloaded from app store.
so that i can identify that user with that unique id,and send that id to my server.
is this possible to get that from app store.?
Thanks in Advanced..
回答1:
You can get a unique transaction ID from an In-App-Purchase, but not from the original download or app purchase from the iTunes App store. Neither of these identify the user. Apple's privacy policy may prevent them from ever giving you this information from their app store data.
回答2:
Previously you would use the device id, but that is now deprecated by Apple. I would recommend you simply generate a new GUID when the app is first launched, store that in the user defaults, and use that.
There isn't any way to access transaction information from your app.
来源:https://stackoverflow.com/questions/7525973/can-we-get-unique-transaction-id-from-app-store