A recent study suggests that push notifications, delivered directly to a mobile device, are perhaps the best way to capture and engage users, a trend that hasn’t flown under the radar of mobile app developers. We'd like to show you how easily you can send Push Notifications by using a sample app (iOS, Android, or PhoneGap) with our Apigee Push Notification API. See the Push Notification Tutorial for complete details.
Push Notifications at a glance
- Register with a Push Notification service provider
- Register with Apigee
- Create a notifier
- Configure a Push Notification sample
- Send yourself a Push Notification!
1. Register with a Push Notification service provider
Push notification services providers are the gateways through which push notifications are delivered. Platform providers like Apple and Google control these services, which means they also ensure security and trust with the apps that use them. Registering with a push notification service provider allows you to get a security certificate or trusted key to send with your push messages. You can register your push notification platform by using:
2. Register with Apigee
Next, you'll need a free Apigee account. You'll also need:
- An organization, as a top-level container for your APIs and other resources.
- An app, which is a container that controls access to your APIs.
3. Create a notifier
Notifiers are Apigee entities you create to carry messages to notification providers that deliver pushes to devices. Notifiers, like other Apigee entities such as users, groups, and devices, are collections of unique objects. Create a notifier (see full tutorial step 3) by either using the Apigee notifications console or configuring it programmatically.
4. Create a Push Notification sample
Apigee provides some pre-built sample apps, which you can configure to run on your connected device or emulator.
5. Send yourself a Push Notification!
After completing the steps above, run your sample app to see your push notification in action.
- For Android samples, use an emulator for running the app.
- For iOS in the Xcode IDE , you'll need a Mac and an iOS device to run the samples.
According to a study by Mogreet, 88% of emails are never opened, 84% of Facebook news feed stories are never seen, and 71% of tweets are ignored. This study also revealed that 98% of SMS & MMS messages are opened. What's more these apps are rich with high value, context aware, and time-sensitive information. Apigee makes it easy to take advantage of this trend by enabling Push Notifications for your app.