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
- 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