LATEST VERSION: 1.8 - CHANGELOG
Push Notification Services v1.8

First Push Walkthrough

Step 1

In the Cloud Foundry App Manager, click on the “Marketplace” link. Select “Push Notification Service” from the list of available services.

Step 2

Select the “Default” service plan. Give the service instance a name and make sure to select the correct Space for the service to be created in before clicking the “Add” button.

Step 3

You can now click on the “Manage” link for the Push Notifications Service instance you’ve created. This will open the Push Dashboard.

Add an application by filling in the form that appears when first navigating to the dashboard. If applications already exist, you can access the add application screen by clicking on “Create New Application” on the left hand sidebar dropdown.

Step 4

Fill in fields on the new application screen. There are two fields: name and description. These fields are purely for keeping track of which application is which.

Step 5

Create a new platform by clicking on the ‘Add Platform’ button and filling out the proper fields depending on the platform type.

For Android platforms you will need to provide Project Number and Google Key values. The Project Number is the numeric value found at the top middle of a project on the Google Developers Console. Do not use the 'Project ID’. The Google Key is a Server API key, created on the “Credentials” screen of the Google Developers Console.

For iOS platforms you will need to create a APNS Development Certificate and APNS Production Certificate using the Apple Developer Website. These files, along with their associated private keys, need to be exported from your Keychain Access program into a password protected P12 file. You will upload this P12 file and provide its password when you create your platform on the PCF Push Notification Service dashboard.

Step 6

After saving, click on 'Configuration’ on the left sidebar, this is where the UUID and secret will be found. These values are used to register devices and eventually send pushes.

Step 7

Now you will have to integrate the sdk with your app. See the getting started section of the SDK documentation.

Step 8

Click on the 'Devices’ link on the left sidebar to see registered devices, and click on the 'Test Push’ button for the device you wish to send a push.

Step 9

Fill in a message and press send to send a test message.

Step 10

If the server accepts this push for delivery, a receipt will be shown on screen. This does not guarantee delivery to the device (device could be off, notifications could be disabled, etc).

Create a pull request or raise an issue on the source for this page in GitHub