You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bh...@apache.org on 2013/07/17 21:54:35 UTC
git commit: [BlackBerry10] Adding native permissions
Updated Branches:
refs/heads/master 980a7096b -> 3d5b867c2
[BlackBerry10] Adding native permissions
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/3d5b867c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/3d5b867c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/3d5b867c
Branch: refs/heads/master
Commit: 3d5b867c267fa9b7968903f65459ec9426f62dcd
Parents: 980a709
Author: Jeffrey Heifetz <jh...@blackberry.com>
Authored: Tue Jul 16 16:24:19 2013 -0400
Committer: Bryan Higgins <bh...@blackberry.com>
Committed: Wed Jul 17 15:54:50 2013 -0400
----------------------------------------------------------------------
plugin.xml | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/3d5b867c/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index e276498..751cf58 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -65,7 +65,7 @@
<config-file target="config.xml" parent="/*">
<feature name="Geolocation">
<param name="ios-package" value="CDVLocation"/>
- </feature>
+ </feature>
</config-file>
<header-file src="src/ios/CDVLocation.h" />
<source-file src="src/ios/CDVLocation.m" />
@@ -94,6 +94,13 @@
<config-file target="www/config.xml" parent="/widget">
<feature name="Geolocation" value="Geolocation"/>
</config-file>
+ <config-file target="www/config.xml" parent="/widget">
+ <rim:permissions>
+ </rim:permissions>
+ </config-file>
+ <config-file target="www/config.xml" parent="/widget/rim:permissions">
+ <rim:permit>read_geolocation</rim:permit>
+ </config-file>
</platform>
<!-- wp7 -->
@@ -115,5 +122,5 @@
<source-file src="src/wp/Geolocation.cs" />
</platform>
-
+
</plugin>