Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

cordova-plugin-simple-notification

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-simple-notification

Cordova Simple Notification Plugin

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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-v4
  • if you use crosswalk seems adding cordova-plugin-android-support-v4 is not required

and this plugin :

// npm hosted id
cordova plugin add cordova-plugin-simple-notification

Supported Platforms

  • Android

Methods

  • notification.show

notification.show

Displays the notification

var unique_id_of_this_notification = 12;
notification.show(unique_id_of_this_notification, 'my title', 'my message');

Keywords

cordova

FAQs

Package last updated on 05 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts