Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziaenezhad/cordova-simple-notification
Shows simply a notification on the status bar
https://github.com/ziaenezhad/cordova-simple-notification
Last synced: about 1 month ago
JSON representation
Shows simply a notification on the status bar
- Host: GitHub
- URL: https://github.com/ziaenezhad/cordova-simple-notification
- Owner: ziaenezhad
- Created: 2016-10-04T11:53:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-05T05:15:12.000Z (about 8 years ago)
- Last Synced: 2024-10-15T04:33:20.286Z (2 months ago)
- Language: Java
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cordova-plugin-simple-notification
This plugin shows notifications on the status bar of android devices
## Installation
this plugin requires cordova-plugin-android-support-v4 so first you must add that :// required for cordova-plugin-simple-notification
cordova plugin add cordova-plugin-android-support-v4and this plugin :
// npm hosted id
cordova plugin add cordova-plugin-simple-notification## Supported Platforms
- Android
## Methods
- notification.show
## notification.show
Displays the notification
```js
var unique_id_of_this_notification = 12;
notification.show(unique_id_of_this_notification, 'my title', 'my message');
```