Apple push notification with device token and UDID

*爱你&永不变心* 提交于 2019-12-08 08:28:25

问题


I am maintenance a project using UDID and device token to implement push notification for iphone. At first we are using UDID to push, but after that Apple reject other apps using UDID (not our app), so we plan to move all things to use device token instead of UDID. But in our server store many UDID from users, we want to continue using UDID with our server and device token for push notification. Can we keep them both in our server? Do Apple allow that, do we have chance to be rejected from Apple team?


回答1:


As far as I know, any app collecting UDID will be rejected. If you need to use something like UDID, you can try OpenUDID. But for push notification, it's not necessary to use UDID, the device token alone can do the work. I'd suggest build up a new data system with OpenUDID and device token, or device token alone.




回答2:


If u want UDID means use this link and enerate the UDID https://github.com/gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5




回答3:


You can try SecureDeviceIdentifier ( here and here )



来源:https://stackoverflow.com/questions/13061384/apple-push-notification-with-device-token-and-udid

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