Enabling Push Notifications

Enabling Push Notifications

Before you can send push notifications to a certain vendor, you need to enable it in Telerik Platform and make the necessary settings. Each supported vendor—iOS, Android, Windows Phone, Windows—has its own settings.

Procedure

You need to log in to the Telerik Platform portal to enable push notifications:

  1. Open your Telerik Platform app.
  2. Click the Notifications tab and ensure that the service is enabled.
  3. Navigate to Push Notifications > Settings.
  4. Click the check box for the vendor that you want to enable and make the requested settings as explained in the next sections.
  5. Click Save.

Configuring push notifications settings in Telerik Platform

iOS Settings

Clicking the iOS check box reveals settings that allow you to upload iOS push certificates. Note that these are server SSL certificates that differ from the certificate used to code-sign an iOS app. The server certificates are needed for establishing a TLS connection to the Apple Push Notifications Service (APNs).

You can choose to upload:

  • Production certificate—Required for sending push notification to devices on which a production version or your app has been installed. This must be a .p12 file containing an SSL server certificate.
  • Development certificate—Can be used to send push notification to testing devices while developing an app. This must be a .p12 file containing an SSL server certificate.

You will be prompted for a password. Enter one if you supplied a password at the time of exporting the file. Otherwise leave the password field blank.

After uploading a valid certificate you are able to use the Apple Push Notifications Services through Telerik Platform.

More information about how to get a certificate and create a .p12 file can be found in the following resources. Note that you need to be enrolled in the Apple iOS Developer Program.

Android Settings

Clicking the Android check box reveals a setting that allows you to provide an API key for server applications. Telerik Platform utilizes this key to authenticate before Firebase Cloud Messaging (FCM) and send notifications on your behalf.

You need to obtain the server key and the corresponding Sender ID (formerly Project Number) using the Firebase console as part of a new or an existing project. See the Credentials section of the Firebase documentation for details.

You need to obtain a Server key. Other key types like Android, iOS, and Browser will not work.

After you have generated the Server key and Sender ID, copy the Server key to Push Settings > Android in your Telerik Platform app. You will need the Sender ID in the app code when subscribing for push notifications.

If you have an existing project in Google APIs Console, we strongly advise to migrate your Google Project to Firebase using the Firebase console. After the migration you should be able to access these tokens in the way explained above.

Windows Phone Settings

Microsoft Push Notification Service (MPNS) does not require additional settings. Once you click the Windows Phone check box you are set up to send push notifications to Windows Phone devices.

Note that you are limited to sending 500 push notifications per device per day for this platform.

Windows Store Settings

Clicking the Windows check box reveals settings that allows you to provide Package Security Identifier and Client Secret. These settings are required by Microsoft Push Notification Service.

You can obtain the values by logging in to your Windows Store Dashboard account. For more information refer to the official Microsoft documentation.

The Package SID and Client Secret values that you enter here must match the values for these settings in your Windows Store application (which will consume the notifications).

See Also


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.