Plugin for Cordova 3.0+ that allows you to show a loading spinner and a message in your Android/iOS Cordova's app.
To install the plugin, use the Cordova CLI and enter the following:
cordova plugin add https://github.com/Initsogar/cordova-activityindicator
OR
phonegap plugin add https://github.com/Initsogar/cordova-activityindicator
- Android
- iOS
To show the dialog, use the following code:
ActivityIndicator.show(message)
To hide the dialog, use the following code:
ActivityIndicator.hide()
This plugin is inspired in the following projects:
https://github.com/jdg/MBProgressHUD
https://github.com/pebois/phonegap-plugin-ProgressHUD
https://github.com/bormansquirrel/WaitingDialog
https://github.com/anupamdhanuka/AndroidProgressHUD