简体   繁体   中英

Push Notifications not working on iOS 4

I have asked this question on the Apple DevForums, too.

If I get an answer there, I'll share it here, too.

The problem is:

We have installed the same AdHoc app on our iOS 4 (good thing that we didn't update all of them to iOS 5) and iOS 5 devices.

The PN is received on the iOS 5 device, but nothing happens on iOS 4.

We triple checked everything on the server, in the app and on the devices. Still it works only on iOS 5.

Did anyone encounter this issue?

Thanks!

Also you will not receive Push notification if your iPhone is jail-breaked.

And it's good idea to check are you using developing or production certificate and device token.

Did you check wether you use the right APN certificates?

You should make sure that you use the right certificate to the right address. The sandbox mode is not the same as release mode. So you will get from the apple server 2 different push token.

To make sure wether you are doing correctly, I suggest you to try http://mobiforge.com/developing/story/programming-apple-push-notification-services

Sometimes the Push also delays till 1 hour. Keep this in mind.

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