Search docs/
Getting StartedPlugins

Local Notifications

This plugin allows you to display local notifications on the device

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Contact Us Today!


npm install cordova-plugin-local-notificationnpm install @ionic-native/local-notificationsionic cap syncionic cordova plugin add cordova-plugin-local-notificationnpm install @ionic-native/local-notifications
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • iOS
  • Windows



See here.


import { LocalNotifications } from '@ionic-native/local-notifications/ngx';

constructor(private localNotifications: LocalNotifications) { }


// Schedule a single notification
  id: 1,
  text: 'Single ILocalNotification',
  sound: isAndroid? 'file://sound.mp3': 'file://beep.caf',
  data: { secret: key }

// Schedule multiple notifications
   id: 1,
   text: 'Multi ILocalNotification 1',
   sound: isAndroid ? 'file://sound.mp3': 'file://beep.caf',
   data: { secret:key }
   id: 2,
   title: 'Local ILocalNotification Example',
   text: 'Multi ILocalNotification 2',
   icon: ''

// Schedule delayed notification
   text: 'Delayed ILocalNotification',
   trigger: {at: new Date(new Date().getTime() + 3600)},
   led: 'FF0000',
   sound: null