Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 907 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 907 Bytes

OneSignal Cordova Example

An example Cordova app with the OneSignal plugin intergated showing how to use each of it's functions.

Trying the Example Out!

  1. To build the example first run cordova platform add android andr/or cordova platform add ios.
  2. Open www\js\index.js and update "b2f7f966-d8cc-11e4-bed1-df8f05be55ba" with your OneSignal App Id.
  3. Build then run the app on your device.

Installing in Your Own Project

To add the OneSignal to your Cordova project run the following. cordova plugin add onesignal-cordova-plugin --save

See the OneSignal Cordova SDK Setup Guide for the full installation guide.

Using Ionic instead?