Ben Senior created CB-10225:
-------------------------------

             Summary: config-file tag with mode="delete" does not work in 
config.xml
                 Key: CB-10225
                 URL: https://issues.apache.org/jira/browse/CB-10225
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI, Plugin Media
    Affects Versions: 3.5.0
            Reporter: Ben Senior


It's *really* important to be able to disable RECORD_AUDIO - we are getting bad 
reviews across several apps because people see it and think we're spying on 
them!!!

The correct way to do this seems to be using the config-file tag in config.xml. 
  e.g.
<gap:config-file platform="android" parent="/manifest" mode="delete">
            <uses-permission android:name="android.permission.RECORD_AUDIO" />
            <uses-permission 
android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    </gap:config-file>

All the other "fixes" are nonsense. Creating a modified plugin (failing to get 
new changes from the original), post processing the Manifest.XML (fragile, and 
in our setup, very vulnerable as devs use a few different ways to build), 
unpacking the .apk and removing from there, it's just no good.

I've tried many variations on a theme and nothing works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to