17.8. Delivering Push Notifications to Your App
You want to be able to send push notifications to users’ devices that are registered for push notifications.
Ensure that you have collected their push notification token identifiers (see Recipe 17.7). Then generate the SSL certificates that will be used by your web services to send push notifications to devices. Once done, create a simple web service to send push notifications to registered devices.
This recipe is a follow-up to Recipe 17.7. Ensure that you have read and understood that recipe before proceeding with this one.
In order to be able to communicate with the APNS, your web services need to do handshaking with the APNS using an Apple-issued SSL certificate. To generate this certificate, follow these steps:
Figure 17-8. Modifying the settings of an existing App ID
In the Push Notifications section of the settings, under the Development SSL Certificate section, press the Create Certificate button (see Figure 17-9) and follow the guidance that Apple will provide you to create your certificate. We are creating the ...