简体   繁体   English

将设备唯一标记发送到推送通知提供程序

[英]Sending device unique token to the push notifications provider

My push notifications provider wants me to send a device-unique token to the server, which is not possible, as I figured out after hours of searching (neither with keychain nor identifierForVendor etc). 我的推送通知提供商希望我向服务器发送设备唯一令牌,这是不可能的,因为我在搜索数小时后发现(无论是使用钥匙串还是使用identifierForVendor等)。 So atm server stores tons of inactive tokens (after app is reinstalled, token is being refreshed). 因此,atm服务器存储大量非活动令牌(重新安装应用程序后,令牌正在刷新)。 What is the workaround in this situation? 在这种情况下,解决方法是什么?

If you are talking about the notification APN token to the server, the server can cull them when they attempt to use them. 如果您正在谈论通知APN令牌到服务器,服务器可以在尝试使用它们时剔除它们。

The Apple Push Notification server will let them know the token is invalid. Apple推送通知服务器将让他们知道令牌无效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM