My app plays HTML5 audio, and I build it with PhoneGap Build, so I have
I do not need RECORD_AUDIO permission, because I don't record any audio (I just play it), and it makes some people suspicious (they ask "why does this app need access to the microphone?"), so I would like to turn it off. However, I do not know how.
http://docs.build.phonegap.com/en_US/... explains how to alter my AndroidManifest.xml by making changes in my config.xml for PhoneGap Build. However, I would like to entirely *remove* an element from AndroidManifest.xml -- specifically,
The docs suggest that I should point at the parent element and provide replacement XML for its content. However, the parent of uses-permission is... the root element. Which means that I'd have to provide the whole entire AndroidManifest.xml content in config.xml, which rather defeats the point of PGB calculating it for me!
<gap:plugin name="org.apache.cordova.media"/> in config.xml. However, on Android, this expands (in AndroidManifest.xml) to
<uses-permission android:name="android.permission.RECORD_AUDIO"/><uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
I do not need RECORD_AUDIO permission, because I don't record any audio (I just play it), and it makes some people suspicious (they ask "why does this app need access to the microphone?"), so I would like to turn it off. However, I do not know how.
http://docs.build.phonegap.com/en_US/... explains how to alter my AndroidManifest.xml by making changes in my config.xml for PhoneGap Build. However, I would like to entirely *remove* an element from AndroidManifest.xml -- specifically,
<uses-permission android:name="android.permission.RECORD_AUDIO"/>. Can I do that?
The docs suggest that I should point at the parent element and provide replacement XML for its content. However, the parent of uses-permission is... the root element. Which means that I'd have to provide the whole entire AndroidManifest.xml content in config.xml, which rather defeats the point of PGB calculating it for me!



