Is there a convenient way to remove unnecessary cordova permissions? For example I am using the Media plugin for cordova, but i only want to play a sound, not record it. So i’d like to get rid of the RECORD_AUDIO permission, because users might get suspicious.
I have tried to use this block in the config.xml to no avail:
<gap:config-file mode="delete" parent="/manifest" platform="android">
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</gap:config-file>
Any help would be much appreciated.