Skip to content

Τhe source code of the tutorial on How to integrate OneSignal push notifications into an Ionic 3 application

Notifications You must be signed in to change notification settings

GeorgeKonispoliatis/ionic-onesignal

 
 

Repository files navigation

ionic-onesignal

An Ionic 3 application based on the Supermodular2 starter. This project is the source code of a tutorial on "How to integrate OneSignal push notifications into an Ionic 3 application", originally published at http://appseed.io/blog/how-integrate-onesignal-push-notifications-ionic-3-application

To find many more features to incorporate in any Ionic 3 mobile app, check out Ionic 3 Toolkit.

Dependecies, Run and Build

NodeJS

First, make sure that NodeJS is installed on your computer. If NodeJS is not installed, please install the latest LTS version of NodeJS.

Git

Git should be installed in your computer. Follow the instructions for your platform to install it:

Sass

This application uses SASS, a CSS preprocessor. Follow the instructions for your platform to install it:

Cordova and Ionic

This is an Ionic Cordova based application, so Ionic and Cordova CLIs, should be installed on your computer for this application to run. In order to install Ionic and Cordova CLIs, run the command:

$ npm install -g cordova ionic

Install NodeJS dependencies

Run $ npm install to install all needed dependencies

Run the app

Use $ ionic serve -l to run the app in browser and watch for changes in code

or

use $ ionic serve to just run the app for a browser preview

or

use $ ionic serve --lab to run the app in a browser on multiple platforms at the same time.

Add a platform

$ ionic platform add <platform>

Supported Cordova platforms:

$ ionic platform add ios
$ ionic platform add android

Build the app

$ ionic build

Εmulate the app on simulator

iOS:

$ ionic emulate ios

Android:

$ ionic emulate android

Credits

Third Party Licenses

About

Τhe source code of the tutorial on How to integrate OneSignal push notifications into an Ionic 3 application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 45.1%
  • HTML 41.7%
  • CSS 7.1%
  • JavaScript 6.1%