Password Dialogs in Cordova

The Cordova dialog plugin (cordova-plugin-dialogs) exposes an API for alert, confirm and prompt dialogs. Unfortunately it does not yet have support for masked inputs (eg passwords) or multiple text entry fields.

I created a simple plugin to handle a few use cases involving prompting the user for passwords:

  • Confirm Password
  • Change Password

Each dialog can be customized with a title and message. You can also enforce a minimum password length.

The plugin supports both iOS and Android.

It is available on GitHub and via the npm registry.