[ubuntu] request audio/camera/microphone permission
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/65cfc08e Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/65cfc08e Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/65cfc08e Branch: refs/heads/dev Commit: 65cfc08ef34d939119061519328c4fb8f9490e72 Parents: 193aeb3 Author: Maxim Ermilov <[email protected]> Authored: Tue Jan 21 15:34:20 2014 +0400 Committer: Maxim Ermilov <[email protected]> Committed: Tue Jan 21 15:34:20 2014 +0400 ---------------------------------------------------------------------- plugin.xml | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/65cfc08e/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index 0d146df..a68df82 100644 --- a/plugin.xml +++ b/plugin.xml @@ -93,6 +93,13 @@ xmlns:android="http://schemas.android.com/apk/res/android" <resource-file src="src/ubuntu/toolbar-left.png" /> <resource-file src="src/ubuntu/toolbar-middle.png" /> <resource-file src="src/ubuntu/toolbar-right.png" /> + <config-file target="config.xml" parent="/*"> + <feature name="Capture"> + <param policy_group="audio" policy_version="1" /> + <param policy_group="camera" policy_version="1" /> + <param policy_group="microphone" policy_version="1" /> + </feature> + </config-file> </platform> <!-- ios -->
