Friday, March 11, 2011

Video Tutorial: Setting up Apple Push Notifications (APNs)

We use the Apple Push Notification service (APNs) for many features such as Game Invitations, Game Challenges and Messages.

Unfortunately, Apple requires developers to do a lot of work to enable Push Notifications for each of their games. Here are the steps you have to take in order to get Push Notifications working with Z2Live.

Tools for testing Push Notifications

Before I begin the tutorial, here are some tools to help you (note: these won iPhone Dev Camp 2009):

Creating a Push Notification Certificate



  1. Creating the App ID.
  2. Configuring the App ID for Push Notifications.
  3. Creating a Certificate Request.
  4. Uploading the Certificate Request.
  5. Downloading your Application Push Certificate.
  6. Installing the Certificate into the Keychain.


Setting up an Application for Push Notifications



  1. Creating/Downloading/Installing Provisioning Profile.
  2. Viewing the "aps-environment" entitlement.
  3. Getting the Z2NotifyMe application from GitHub.
  4. Setting up the AppID and Code Signing.
  5. Getting the Device Token.
  6. Getting Z2Notify and setting Push Information.

Exporting your Private Push Certificate




  1. Determining the Right Certificate.
  2. Exporting Private Certificate.
  3. Skipping the "Password for Exporting" dialog box.
  4. Viewing the Private Certificate.


3 comments:

testing said...

You have made some very astute statements and I appreciate the effort you have put into your post. Its clear that you know what you are writing about. I am excited to read more of your sites content.

I would like to share this types of push notification apps tutorial to learn how push notification really works. I am sure your visitors will find it very useful.

Safdar Ali said...

How to disable unwanted notifications from Facebook. desktop notification software

carltechtoday said...

Thanks for sharing this information its really nice. It is essential to start using a reliable service that can scale to cope with your complete entertainment needs. By utilizing best free xmltv url, users can access a rich electronic program guide (EPG) that provides detailed TV listings, making it easier to navigate and discover content on any mobile devices.