Unable to install "cordova-plugin-ms-adal" Ionic 4 - IOS

Getting following issue on plugin installation -
Issue -

Failed to install ‘cordova-plugin-ms-adal’: CordovaError: Using “requireCordovaModule” to load non-cordova module “fs” is not supported. Instead, add this module to your dependencies and use regular “require” to load it.

Configuration -

Ionic CLI : 5.4.15 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.13
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.3.3


Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : cordova-plugin-ionic-webview 5.0.0, (and 27 other plugins)


ios-deploy : 1.10.0
NodeJS : v12.13.1 (/usr/local/bin/node)
npm : 6.12.1
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C504

The plugin is unmaintained, it needs to be updated to not use requireCordovaModule internally.

You can downgrade cordova CLI to version 8, but I don’t recommend it. If you use that plugin, you should fork it, update it and use your fork, and maybe send a pull request to the original plugin just in case they might be interested in updating it.