
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
cordova-plugin-native-spinner
Advanced tools
A Cordova plugin for showing a progress indicator based on Paldom/SpinnerDialog
Cordova plugin for showing a native spinner based on Paldom/SpinnerDialog
NPM Package: cordova-plugin-native-spinner
:fire: This Plugin is officially using in ionic-native :fire:
![]() | ![]() | ![]() | ![]() | ![]() |
---|---|---|---|---|
4.1+ ✔ | 10+ ✔ | WP 8.1+ ✔ | 10+ ✔ | Browser ✔ |
Latest stable release:
phonegap local plugin add cordova-plugin-spinner-dialog
cordova plugin add cordova-plugin-spinner-dialog
Current state from git:
phonegap local plugin add https://github.com/greybax/cordova-plugin-native-spinner
cordova plugin add https://github.com/greybax/cordova-plugin-native-spinner
cordova plugin add cordova-plugin-native-spinner
cordova prepare
SpinnerDialog.show
SpinnerDialog.hide
SpinnerDialog.show([title], [message], [cancelCallback])
SpinnerDialog.hide
. Due to legacy reasons you can provide boolean value (true/false) to set spinner not cancelable. Optional, defaults to false
. (Function/Boolean)SpinnerDialog.hide([wpStatusbar]);
true
, only the spinner will be hidden, the status bar will remain visible if it was already visible. Optional, defaults to false
. (Boolean)// Show spinner dialog
SpinnerDialog.show();
// Show spinner dialog with message
// Note: spinner dialog is cancelable by default
SpinnerDialog.show(null, "message");
// Set spinner dialog fixed
SpinnerDialog.show(null, null, true);
// Set spinner dialog fixed with callback
// Note: callback fires on tap events and Android hardware back button click event
SpinnerDialog.show(null, null, function () {console.log("callback");});
// Show spinner dialog with title and message (Android only)
SpinnerDialog.show("title", "message");
// Set spinner dialog fixed (cannot be canceled with screen touch or Android hardware button)
SpinnerDialog.show("title", "message", true);
// Overlay opacity and text color options (IOS only)
SpinnerDialog.show(null,"Message",true, {overlayOpacity: 0.35, textColorRed: 1, textColorGreen: 1, textColorBlue: 1});
// Change only overlay opacity (IOS only)
SpinnerDialog.show(null,"Message",true,{overlayOpacity:0.70});
// Change only text color (IOS only)
SpinnerDialog.show(null,"message",true, { textColorRed: 0.1, textColorGreen: 0.1, textColorBlue: 1});
// Hide spinner dialog
SpinnerDialog.hide();
Demo app source code to test the plugin is available at the cordova-plugin-demos repository by Andrés Zsögön.
See "LICENSE". Based on https://github.com/Paldom/SpinnerDialog with lots of awesome improvements! :star: :tada: :rocket: :star:
FAQs
A Cordova plugin for showing a progress indicator based on Paldom/SpinnerDialog
The npm package cordova-plugin-native-spinner receives a total of 1,107 weekly downloads. As such, cordova-plugin-native-spinner popularity was classified as popular.
We found that cordova-plugin-native-spinner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.