带有设备令牌和 UDID 的 Apple 推送通知 [英] Apple push notification with device token and UDID

查看:31
本文介绍了带有设备令牌和 UDID 的 Apple 推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在维护一个使用 UDID 和设备令牌来实现 iphone 推送通知的项目.起初我们使用 UDID 来推送,但之后 Apple 拒绝了其他使用 UDID 的应用程序(不是我们的应用程序),所以我们计划将所有东西都移动到使用设备令牌而不是 UDID.但是在我们的服务器中存储了许多来自用户的 UDID,我们希望继续使用 UDID 与我们的服务器和设备令牌进行推送通知.我们可以将它们都保留在我们的服务器中吗?苹果允许吗,我们有机会被苹果团队拒绝吗?

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?

推荐答案

据我所知,任何收集 UDID 的应用程序都会被拒绝.如果你需要使用类似 UDID 的东西,你可以试试 OpenUDID.但是对于推送通知,没有必要使用 UDID,设备令牌本身就可以完成这项工作.我建议使用 OpenUDID 和设备令牌建立一个新的数据系统,或者单独使用设备令牌.

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.

这篇关于带有设备令牌和 UDID 的 Apple 推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆