import {Component} from '@angular/core';
import {NavController, Alert} from 'ionic-angular';
import {LocalNotifications} from 'ionic-native';


@Component({
  templateUrl: 'build/pages/home/home.html'
})
export class HomePage {
  constructor(public navCtrl: NavController) {

  }

  showAlert() {
    LocalNotifications.schedule({
      id: 1,
      text: "Single Notification"
    });
  }
}

import {Component} from '@angular/core';
import {NavController, Alert} from 'ionic-angular';
import {LocalNotifications} from 'ionic-native';


@Component({
  templateUrl: 'build/pages/home/home.html'
})
export class HomePage {
  constructor(public navCtrl: NavController) {

    LocalNotifications.on('click', (notification, state) => {
      alert(notification.id + " was clicked");
    })

  }

  showAlert() {
    LocalNotifications.schedule({
      id: 1,
      text: "Single Notification"
    })
  }
}

Add event to check notification was clicked
Add event to check notification was clicked

and return back to app
