The Telerik Platform product is retired.Learn more

Basic Push


Basic Push Notifications Sample App for PhoneGap/Cordova

Try in AppBuilder


This repository contains a basic sample app that can receive push notifications sent from its Telerik Platform backend. It is a hybrid app built using Telerik AppBuilder and Cordova.

The sample app utilizes the following Telerik products and SDKs:


Initial View After Device is Registered
Before Registering After Registering


Before you begin, you need to ensure that you have the following:

  • An active Telerik Platform account Ensure that you can log in to a Telerik Platform account. This can be a free trial account.
  • Telerik AppBuilder The sample app requires Telerik AppBuilder to run. This can be the in-browser client, the desktop client or the extension for Visual Studio.


The sample app comes fully functional, but to see it in action you must link it to a Telerik Platform app.

  1. Click the Run in the Platform button to clone the repository in Telerik Platform.
    A new Telerik Platform app is created for you. You can view the app source code on the Code tab.
  2. Click the Settings tab.
  3. Take note of your App ID.
  4. Go to the Code tab.
  5. Open the /scripts/config.js file.
  6. Locate the app.config.everlive.appId variable and replace its value with the App ID that you acquired earlier.
  7. If you want to run the app on Android devices, locate the app.androidProjectNumber variable and replace its value with your Google project number. More details on obtaining the project number can be found on Google Developers.
  8. Finally, got to the Notifications > Push Notifications tab and set up push notifications as explained in Enabling Push Notifications.

Running the Sample

Once the app is configured, you can run it on a real device. To run it, follow the steps in the product's documentation: Running Apps on Devices.

When running the app, ensure that you are building it as an app package as opposed to an AppBuilder companion app package.

Push notifications are not supported when running the app on device simulators/emulators.

Ensure that the device that you are using has Internet connectivity when running the sample.

Contact us: +1-888-365-2779
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.