Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple push notification with an enterprise application

we have developed an application that use push notifications by following the very good guide created by David Mytton.

The push service worked great on the development profile. But now that it is finished we have changed to the customers distribution profile. The application is an in-house application using an Enterprise account.

We have changed the certificate on the server and we have changed to the production url as specified in the tutorial. We have also replaced the profile used when building the application and installed it to the tester iPhone. Everything seems to work on the server, and no error messages is returned but the push is never recieved on the iPhone. We are pretty clueless right now and don't know where to start debugging on this. We have checked that the tokenId is updated after replacing the profile.

Has anyone any experience in this and might know what's wrong or where to start debugging? Thanks!

like image 496
Madoc Avatar asked Nov 23 '11 13:11

Madoc


1 Answers

I have no idea what was wrong here but i finally got it to work..

After hours of debugging without results i threw in the towel and created a new developer certificate, app id, push sertificate and distribution profile. I cleaned the project added the new profile and replaced all files on server.

And it worked! No problems at all... Sometimes i hate being an iPhone/Apple developer :\

like image 82
Madoc Avatar answered Oct 13 '22 22:10

Madoc