简体   繁体   中英

Push Notifications Issue in iPhone

OKay..so I followed this tutorial on RayWenderlich.com about setting up push notifications in an app. It worked fine for the 1st week or so. The notifications were delivered and all was cool until today, when notifications stopped working. I repeated the steps mentioned on the site by creating a new SSL certificate, a new provisioning profile, etc but it still doesn't work. The Settings and all in my iPhone are set to receive notifications in the App.

I tried sending myself notifications from other services like FB, twitter, etc and they're all working. Can anyone temme what might not be working.

Oh and btw, my PHP code shows no error. In fact, it says that the message was successfully delivered.

I'm running out of time and help would be much appreciated. Thanks.

device token may be changed. update device token and retry.

Make sure you are using the correct mode ie you have enabled the push notification in development mode and install the app with the same provision profile and keep the developmental .pem file on server. If you change from development to release you need to change the .pem file from server and also remove sandbox while sending the push notification in live version.

Keep in mind that Apple do not guarantee that message will be delivered 100%.

Next time, don't worry so much.

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