Notification

Visual, audible, and tactile device notifications.

Methods

  • [notification.alert](notification.alert.html)
  • [notification.confirm](notification.confirm.html)
  • [notification.prompt](notification.prompt.html)
  • [notification.beep](notification.beep.html)
  • [notification.vibrate](notification.vibrate.html)

Permissions

Android

app/res/xml/config.xml

<plugin name="Notification" value="org.apache.cordova.Notification"/>

app/AndroidManifest.xml

<uses-permission android:name="android.permission.VIBRATE" />

BlackBerry WebWorks

www/plugins.xml

<plugin name="Notification" value="org.apache.cordova.notification.Notification" />

www/config.xml

<feature id="blackberry.ui.dialog" />

iOS

config.xml

<plugin name="Notification" value="CDVNotification" />

Windows Phone

No permissions are required.

Tizen

No permissions are required.