简体   繁体   English

Apple Pushnotification反馈服务

[英]Apple Pushnotification Feedback service

I have a problem with IOS push notification. 我对IOS推送通知有问题。 I am using php(Zend) as a provider. 我正在使用php(Zend)作为提供程序。 I have tested the notification in below scenarios: 我已经在以下情况下测试了通知:

1) Installed app in my iPhone and sends the device token to server and it is successfully stored in database. 1)在我的iPhone中安装了应用程序,并将设备令牌发送到服务器,它已成功存储在数据库中。 Then i have fired a notification, and i have received notification. 然后我已经发出通知,并且我已经收到通知。

2) Then i have uninstalled the app from device and fired a notification. 2)然后我从设备上卸载了该应用程序并触发了通知。 In this scenario APNS doesn't returned any error message. 在这种情况下,APNS不会返回任何错误消息。 Feedback service also not gave any invalid tokens (Device has other apps which has push notification enabled). 反馈服务也未提供任何无效的令牌(设备具有启用了推送通知的其他应用)。

3) Installed app again then send the notification. 3)再次安装应用,然后发送通知。 Now, The notification is successfully sent. 现在,通知已成功发送。

So my question is, why apns not returned invalid token when app is uninstalled from the device. 所以我的问题是,为什么从设备上卸载应用后,apns不会返回无效令牌。 Why feedback service not returned any invalid tokens? 为什么反馈服务未返回任何无效令牌?

Thanks in advance 提前致谢

When you uninstall an application, it does not get de-registered from the push server. 卸载应用程序时,不会从推送服务器中取消注册该应用程序。 So, this is normal behaviour. 因此,这是正常行为。 You won't get any invalid token error. 您不会收到任何无效的令牌错误。

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

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