How to remove unnecessary cordova permissions?

I found a way, that sadly is not automated.
After platform:add and before build:android you edit /plugins/android.json and /plugins/org.apache.cordova.media/plugin.xml and delete the lines including the permissions you don’t want.

2 Likes