Progress Notification for Android Cordova Plugin
A Cordova plugin which can be used to display progressive notification in android. like notification of file downloading or uploading.
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
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