You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/01/07 21:28:39 UTC
[jira] [Commented] (CB-10225) config-file tag with mode="delete"
does not work in config.xml
[ https://issues.apache.org/jira/browse/CB-10225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088052#comment-15088052 ]
Nikhil Khandelwal commented on CB-10225:
----------------------------------------
This issue seems to be related to phonegap build and not cordova as this feature is not in cordova. Please file a bug with phonegap build.
> 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. It seems the mode="delete" functionality just does not work! Can this be fixed easily? There are hordes of devs running into exactly this problem, since years!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org