- Accelerometer
- Camera
- Capture
- Compass
- Connection
- Contacts
- Device
- Events
- File
- Geolocation
- Globalization
- InAppBrowser
- Media
- Notification
- Splashscreen
- Storage
- Overview
- Platform Guides
- The Cordova Command-line Interface
- Command-Line Usage
- Privacy Guide
- Upgrading Guides
- Project Settings
- Plugin Development Guide
- Domain Whitelist Guide
- Embedding WebView
This version of the documentation is outdated!
Click here for the latest released version.
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.