Removing cordova plugins from the project

前端 未结 14 2086
情书的邮戳
情书的邮戳 2020-12-12 15:50

Somehow in my app many of the cordova plugins are installed and because of that it requires access to almost everything - from my contacts to current location ( even though

14条回答
  •  情话喂你
    2020-12-12 16:32

    You can do it with bash as well (after switching to your Cordova project directory):

    for i in `cordova plugin ls | grep '^[^ ]*' -o`; do cordova plugin rm $i; done
    

提交回复
热议问题