Can we get unique transaction id from app store

瘦欲@ 提交于 2020-02-27 09:37:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!