#appengine-apns-gcm#
A unified push service for iPhone and Android push notifications that runs on Google App Engine (GAE). This can be used as an alternative to Urban Airship if all you are doing is basic push notifications.
##how to deploy##
- Clone or download this project
- Create a new app engine project id at http://appengine.google.com
- Enable billing on your new project (required for iOS push support)
- Create a new project in the Google API Console (https://code.google.com/apis/console/) note your new project id in the url
- Deal with the pain of setting up a new app and creating a push certificate in the Apple developer console
- Create a new server key for your project in the Google API Console
- Enable the Google Cloud Messaging API in the Google API Console
- Edit the app.yaml file to replace application: gae-apns-gcm with your new application name
- Create a new project in the App Engine Launcher and point it to the appengine project you got here
- Deploy your new project
- Insert your new project URL in the iOS and Android sample apps
- Enter your Project ID in the Android sample app (found in the URL of the Google API Console)
- Go to http://your-app-id.appspot.com/admin/config
- Enter your GCM API Key from the Google API Console
- Enter your push certificate information for iOS (export your push certificate to a .pem file, and copy the certificate and private key and paste it here. Include the -----BEGIN/END CERTIFICATE----- and -----BEGIN/END PRIVATE KEY-----
##now what?##
- Launch your sample iOS and Android apps to enable push on your devices
- Send an HTTP POST to send a push notification to all your devices