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 22:08:26 UTC

git commit: [BlackBerry10] Adding necessary native permissions

Updated Branches:
  refs/heads/master a89a7c7b6 -> 7b95a40c3


[BlackBerry10] Adding necessary native permissions


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/7b95a40c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/7b95a40c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/7b95a40c

Branch: refs/heads/master
Commit: 7b95a40c3ae39f3654240bfb81c522a64630efba
Parents: a89a7c7
Author: Jeffrey Heifetz <jh...@blackberry.com>
Authored: Tue Jul 16 16:36:10 2013 -0400
Committer: Jeffrey Heifetz <jh...@blackberry.com>
Committed: Tue Jul 16 16:36:10 2013 -0400

----------------------------------------------------------------------
 plugin.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/7b95a40c/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 5e9a7cb..d427f9f 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -27,7 +27,7 @@
                 <param name="ios-package" value="CDVDevice"/>
             </feature>
         </config-file>
-        
+
         <header-file src="src/ios/CDVDevice.h" />
         <source-file src="src/ios/CDVDevice.m" />
     </platform>
@@ -38,6 +38,13 @@
         <config-file target="www/config.xml" parent="/widget">
             <feature name="Device" value="Device"/>
         </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_device_identifying_information</rim:permit>
+        </config-file>
     </platform>
 
     <!-- wp7 -->