Push notification coding memo

Push messages are all from apple push server, one for each environment: sandbox and production.

You need to build a push client to send message to Apple push server in PHP or ruby. Push client needs ssl certificate from apple. To get it, enable push feature in your AppId, import cert, then create new provision file.

Considering Xtify or UrbanAirship if you or your clients don’t have your/their own VPS. Both Xtify and UrbanAirship offer free tier membership, 1 million push messages per month.

Documentation from Xtify and UrbanAirship are a little bit different, Xtify needs you export private key under APN certificate item as push certificate, while UrbanAirship document stated that you need to export the APN certificate itself (not the private key under), otherwise when exporting certificate, it will report error saying you are importing a development certificate.

(Update at 2012-07-21: I couldn’t get message sent from Xtify server for my new app, re-export the dev certificate from root instead from child, upload this certificate, problem solve. This is consistent with UrbanAireship then, while the Xtify doc did state this very clear, Right click and export this key as .p12 format. should be right click on ‘Apple Development iOS push service’ to export, not on your name.)

Xtify doesn’t need credit card to register, UrbanAirship won’t allow you create App for production until you give away your credit card number.

Xtify has a magic schedule settings, forgetting set this will cause not sending message, ensure to activate it and check measurement report before you revoke your certificate and start over.

Support response from UrbanAirship is mush faster, my first question was answered in 3 hours, amazing.

Call Apple feedback service frequently to eliminate inactive device from your send out list.


8 thoughts on “Push notification coding memo

  1. You’re so cool! I do not suppose I have read a single thing like this before.
    So good to discover someone with some original thoughts
    on this subject matter. Seriously.. many thanks for starting this up.

    This web site is one thing that is needed on the web, someone with some

  2. Great blog right here! Additionally your site so much up very fast!

    What host are you the use of? Can I am getting your affiliate hyperlink for your host?

    I desire my site loaded up as fast as yours lol

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s