cordova-plugin-crypt-file - requireCordovaModule error

血红的双手。 提交于 2019-12-05 10:30:06

Please use the following plugin:

https://github.com/PeterHdd/cordova-plugin-crypto-file

It is based on the cordova-plugin-crypt-file.

The above plugin was made to work with cordova-plugin-ionic-webview, I have updated the plugin and now it works with cordova 9, so there is no need to downgrade.

To install it do the following:

npm i cordova-plugin-crypto-file@latest

latest version 1.4.0 fixes the cordova 9 issue.

I had the same problem. You need to downgrade cordova to the version 8.1.2

npm uninstall -g cordova
npm cache clean --force
npm i -g cordova@8.1.2
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!