Home
Softono

OneSignal Ionic Sample

Open source JavaScript
83
Stars
29
Forks
4
Issues
17
Watchers
2 years
Last Commit

 About OneSignal Ionic Sample

A sample Ionic 2 or higher application demonstrating integration with the OneSignal Cordova plugin for push notifications. The project provides a starting template for adding OneSignal to Ionic apps on Android and iOS platforms. Setup involves adding a platform, installing the OneSignal Cordova plugin, and replacing the placeholder App ID in the app component with your own OneSignal App ID. The repository also links to a separate branch containing an Ionic v1 example for older projects, and references OneSignal's official Ionic SDK Setup guide for complete integration instructions. This sample is intended for developers looking to implement push notification functionality in their Ionic applications using OneSignal's service.

Platforms

Web Self-hosted

Languages

JavaScript

Links

Need Help Installing OneSignal Ionic Sample?

We provide expert installation service for this software. Our team will install, configure, and secure OneSignal Ionic Sample on your server. plans start at just $30.

OneSignal Ionic Sample

View on GitHub

OneSignal Ionic 2+ Example

  1. To build the example first run ionic cordova platform add android or ionic cordova platform add ios.
  2. Next run ionic cordova plugin add onesignal-cordova-plugin
  3. Open src/app/app.component.ts and update "5c9ca215-e7c5-4214-8a45-6f2e1b84c12f" with your OneSignal App Id.
  4. Build then run the app on your device.

Ionic v1 Example

See our Ionic v1 branch if you are still mantaining an older project.

Full Setup Guide

See OneSignal's Ionic SDK Setup guide for full instructions on adding to your existing project.