Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.1 KB

README.MD

File metadata and controls

46 lines (29 loc) · 1.1 KB

Source: https://ionicframework.com/docs/native/local-notifications/

Plugins:
$ ionic cordova plugin add cordova-plugin-local-notification
$ npm install --save @ionic-native/local-notifications

Note:
Notifaction will work only on device/mobile or emulator.

Notifaction ICON (small icon)
generate online: http://romannurik.github.io/AndroidAssetStudio/icons-notification.html
Copy drawable-hdpi/mdpi/xhdpi/xxhdpi/xxxhdpi (all) folder to platforms/android/res

smallIcon: 'res://iconNameWithoutExtention',

======================================================================
$ ionic info

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.6
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v6.11.5
npm               : 5.5.1
OS                : Windows 10

Misc:

backend : pro

======================================================================