iOS : Why our app sometimes doesn't show in the Notification Center?

谁说胖子不能爱 提交于 2019-12-10 11:19:16

问题


There are 3 kinds of situations about this problem.

  1. During the development, I can restart the iPhone and reinstall the app to solve this problem.
  2. At first, this problem often occurs in the jailbreak iPhone, so we think that there may be something wrong with the Provisioning Profiles.
  3. But now, more and more users complain about this (could not receive push), who use the normal iPhone (not jailbreak) and download our app from the App Store.

So, I'm confused, and a little worried, about why our app doesn't show in the notification center, and how we can help the users to solve the problem.

Many thanks.

UPDATE 1:

Even our app registers successfully and gains the deviceToken

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken

this problem may occur.

来源:https://stackoverflow.com/questions/20624916/ios-why-our-app-sometimes-doesnt-show-in-the-notification-center

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