[BlackBerry10] Adding platform level permissions
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/ccd59e66 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/ccd59e66 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/ccd59e66 Branch: refs/heads/master Commit: ccd59e66ba4b28e76dc6fce6eae56fb42fc4aed8 Parents: 6f4fef8 Author: Jeffrey Heifetz <[email protected]> Authored: Thu Jul 18 12:44:10 2013 -0400 Committer: Bryan Higgins <[email protected]> Committed: Fri Dec 6 15:24:55 2013 -0500 ---------------------------------------------------------------------- plugin.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/ccd59e66/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index c047abf..af97504 100644 --- a/plugin.xml +++ b/plugin.xml @@ -130,7 +130,9 @@ <config-file target="www/config.xml" parent="/widget"> <feature name="Camera" value="Camera"/> </config-file> - + <config-file target="www/config.xml" parent="/widget/rim:permissions"> + <rim:permit>read_geolocation</rim:permit> + </config-file> <js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle"> <clobbers target="CameraPopoverHandle" /> </js-module>
