proctr
proctr

Reputation: 452

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.

Upvotes: 0

Views: 240

Answers (3)

Macsen Liviu
Macsen Liviu

Reputation: 90

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

Next time, don't worry so much.

Upvotes: 0

Manish Agrawal
Manish Agrawal

Reputation: 11026

Make sure you are using the correct mode i.e. 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.

Upvotes: 0

Adem Özgür
Adem Özgür

Reputation: 201

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

Upvotes: 1

Related Questions