Using the Cloud Service to Send Push Notifications

From RAD Studio
Jump to: navigation, search

Go Up to BaaS Overview

There are multiple providers on the market that can be used for sending notifications. RAD Studio comes with pre-installed components for two providers:

Before you create your Kinvey application or Parse application, ensure that:

Create a Project at Kinvey

Setting up your Project

  1. Go to Kinvey console and click New App to create a new project. (Click Sign up for Kinvey.)
  2. To create your app backend:
    • Set a name for the project.
    • For platform, select REST API and click Create App.
  3. Now you can see the AppKey, App Secret and Master Secret parameters that you will need later.
    NOTE: You can also go to the app settings page to copy App Secret and Master Secret.


Push Configuration

  1. In the left-menu of the Kinvey console of your project, select Engagement.
  2. Click Configure Push.

Google Cloud Messaging Configuration (Android Configuration)

  1. Copy:
    CCG Configuration.png
  2. Click Save GCM Configuration.

iOS Configuration

  1. Upload your Apple p.12 certificate to Kinvey.
  2. Click Save iOS Configuration.

Adding a User

  1. In the left-menu of the Kinvey console of your project, select Users.

  2. Select Add User and define a user and a password.

  3. Click the Create User button.

Create a Project at Parse

  1. Go to the Parse page, click either Sign Up or Try it for free, and create a new app.
  2. Specify a name for your app.
  3. A list of Keys is displayed. Click Data Browser to see configuration details.
    NOTE: You can access this list later by browsing to Settings > Keys.

  4. Go to Settings > Push and enable Client Push
  5. (iOS only) In Apple Push Certificate section upload your Apple p.12 certificate. The Apple App ID and the Parse App are now linked.

See Also

Code Samples