English 中文(简体)
苹果推进通知反馈服务 - 我无法从反馈服务处得到任何信息
原标题:apple push notification feedback service - i can not get anything from the feedback service

当我连接到反馈服务时, 它可以成功连接, 但我从反馈服务处一无所获。

我从我的设备上卸载了应用程序, 并再次按, 然后连接到反馈服务, 但我还是一无所获, 甚至在第二天。

任何想法吗?

问题回答

If you remove your app from your device or computer and then send a push notification to it, you would expect to have the device token rejected, and the invalidated device token should appear on the feedback service. However, if this was the last push-enabled app on the device or computer, it will not show up in the feedback service. This is because deleting the last app tears down the persistent connection to the push service before the notice of the deletion can be sent.

You can work around this by leaving at least one push-enabled app on the device or computer in order to keep the persistent connection up. To keep the persistent connection to the production environment up, just install any free push-enabled app from the App Store and you should then be able to delete your app and see it appear in the feedback service.

Recall that each push environment has its own persistent connection. So to keep the persistent connection to the sandbox environment up, install another development push-enabled app.

来源:"http:// developmenter.apple.com/library/ios/#technotes/tn2265/_index.html" rel="noreferer">Apple Document

所以只要在卸载您自己的应用程序后, 从应用程序存储中安装任何推进应用程序, 并且您的设备名应该由反馈服务触发 。

注意您正在使用的证书 & amp; 环境( sandbox/ production) 。 还要记住, 反馈- service 只列出您上次推进失败的发送尝试 。





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签