Coder Social home page Coder Social logo

erniemac / backend-services-push-hybrid-advanced Goto Github PK

View Code? Open in Web Editor NEW

This project forked from telerik-boneyard/backend-services-push-hybrid-advanced

0.0 2.0 0.0 2.11 MB

backend-services-push-hybrid-advanced

JavaScript 93.41% HTML 2.82% CSS 3.77%

backend-services-push-hybrid-advanced's Introduction

This application is an example of creating and receiving Push Notifications provided by Telerik Backend Services.

Requirements

  • Registration in Telerik Platform (https://platform.telerik.com/).
  • A new or existing Backend Services project in your Platform account.
  • The project must be configured for push notifications as specified in the Backend Services documentation.

In order to send a notification to a subset of users you will need a Telerik Platform subscription plan that supports "Push to Segment".

Showcased features of Telerik Backend Services

  • Users management in Telerik Backend Services.
  • Enabling a device for push notifications.
  • Registering of devices with a userId field.
  • Creating push notifications from the client app.
  • Targeting push notifications to specific users.

Supported platforms

  • iOS
  • Android
  • Windows Phone 8

Installation

  • Log in Telerik AppBuilder and clone this repository.
  • Open the config.js file located in the scripts folder.
  • Locate the variable app.config.everlive.apiKey and replace its value with the API key for the configured Backend Services project.
  • Locate the variable app.androidProjectNumber and replace it with your Google API Project Number. More details on obtaining the project number can be found here.

Running the sample app

Receiving push notifications is not supported in the AppBuilder simulator and in the Telerik AppBuilder Companion app, but you will be able to target and send push notifications to other users.

  • Deploy the project to a device and run it. More information of how to run your hybrid app created with Telerik AppBuilder on devices can be read here: Running Apps on Devices.

  • Authenticate to the app with an existing or new user account.

  • The app will try to automatically enable the device for push notifications and register it/update its registration in Telerik Backend Services. You will be able to survey the process in the main view of the app.

  • You can select specific users and tap the "Send" button to send an already predefined message to them. Alternatively, you can just tap the "Send" button and the app will send a notification to all registered devices in your app.

  • A message will be displayed in the main view of the app when the notification was sent and when you receive a push notification.

backend-services-push-hybrid-advanced's People

Contributors

antondobrev avatar dininski avatar stoyanvi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.