Skip to content

bhavincb/cordova-plugin-progress-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-progress-notification

Progress Notification for Android Cordova Plugin

What is this?

A Cordova plugin which can be used to display progressive notification in android. like notification of file downloading or uploading.

Installation

cordova plugin add https://github.com/bhavincb/cordova-plugin-progress-notification

Or

npm install cordova-plugin-progress-notification
cordova plugin add node_modules\cordova-plugin-progress-notification

or for Ionic

npm install cordova-plugin-progress-notification
cordova plugin add cordova-plugin-progress-notification --save --no-registry

How can I use?

It's very simple, there are 4 self-explanatory methods:

all this methods can be used on global variable "progressNotification" which will be available after cordova device ready event is fired.

progressNotification.show(id, tittle, message, indeterminate); // indeterminate is optional

progressNotification.update(id, value); // value can be 0-100

progressNotification.finish(id, message, value); // Default parameter value for this method is 100

progressNotification.dismiss(id); // Close notification

About

Progress Notification for Android Cordova Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published