简体   繁体   中英

Push Notification inconsistent. Not working in ios 8.3

I'm having a similar issue to Push Notification not working in ios 8.3

The push notifications are being received by 8.1 iphones but those sent to 8.3 iphones are NOT received.

I have updated my xCode to the latest (6.3.1). That does not seem to be the issue here.

I'm trying to send the push notifications both through the app as well as parse.com. The app does request permission to receive push, but that is not the issue.

This was suggested as a possible solution, though I don't understand where to include it. I have it included already for stripe. Though the notifications related to sending users a message that a stripe payment was made isn't working either:

Did you put this in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions ???

Any other suggestions much appreciated.

您应该在应用程序委托的-application:didReceiveRemoteNotification:fetchCompletionHandler:方法中收到传入的推送通知,对于在冷启动时以及已经在iOS 7+中运行的应用程序,始终会调用此方法。

After updating the OS from 8.1 to 8.3, the device token for the app may change. Thats why Apple always suggests to call the

[[UIApplication sharedApplication] registerForRemoteNotifications];

every time you open the app. And update the latest device token to your server database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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