Trying to get Push Notifications working on your iPhone app?

June 14th, 2010 by Richard Felix

I had some issues a long time ago with getting Push Notifications enabled on an iPhone app that I was writing.  Eventually I got them working after a bunch of trial and error, but I never figured out what the underlying cause was.  Last night, while trying to get them working again, I figured out what the issue was.  You *must* generate both a production and development certificate for the Push Notification service in order for the proper aps-environment string to end up in your provisioning profile.  If you don’t, it’ll never work.  Hope that this is useful to some Googler out there.  Knowing this about a year ago would’ve saved me about a month of repeatedly uploading our app to Apple, getting it approved and finding out that Push Notifications still didn’t work.

Join our private mailing list

Get exclusive updates and insights from Sense Labs right in your inbox. (No more than twice a week)

No comments yet, be the first.

Leave a Comment