Skip to content

Commit 3d5b867

Browse files
Jeffrey HeifetzBryan Higgins
Jeffrey Heifetz
authored and
Bryan Higgins
committed
[BlackBerry10] Adding native permissions
1 parent 980a709 commit 3d5b867

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

plugin.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<config-file target="config.xml" parent="/*">
6666
<feature name="Geolocation">
6767
<param name="ios-package" value="CDVLocation"/>
68-
</feature>
68+
</feature>
6969
</config-file>
7070
<header-file src="src/ios/CDVLocation.h" />
7171
<source-file src="src/ios/CDVLocation.m" />
@@ -94,6 +94,13 @@
9494
<config-file target="www/config.xml" parent="/widget">
9595
<feature name="Geolocation" value="Geolocation"/>
9696
</config-file>
97+
<config-file target="www/config.xml" parent="/widget">
98+
<rim:permissions>
99+
</rim:permissions>
100+
</config-file>
101+
<config-file target="www/config.xml" parent="/widget/rim:permissions">
102+
<rim:permit>read_geolocation</rim:permit>
103+
</config-file>
97104
</platform>
98105

99106
<!-- wp7 -->
@@ -115,5 +122,5 @@
115122

116123
<source-file src="src/wp/Geolocation.cs" />
117124
</platform>
118-
125+
119126
</plugin>

0 commit comments

Comments
 (0)