You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/01/31 01:19:38 UTC
[2/3] git commit: [ubuntu] request sensors permission
[ubuntu] request sensors permission
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/fa701983
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/fa701983
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/fa701983
Branch: refs/heads/dev
Commit: fa701983e998d02d9cc133d4f834f169e7e95f41
Parents: d02710c
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Tue Jan 21 15:32:53 2014 +0400
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Tue Jan 21 15:32:53 2014 +0400
----------------------------------------------------------------------
plugin.xml | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/fa701983/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 2d1f691..9d1257d 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -73,6 +73,11 @@
<platform name="ubuntu">
<header-file src="src/ubuntu/compass.h" />
<source-file src="src/ubuntu/compass.cpp" />
+ <config-file target="config.xml" parent="/*">
+ <feature name="DeviceOrientation">
+ <param policy_group="sensors" policy_version="1" />
+ </feature>
+ </config-file>
</platform>
<!-- blackberry10 -->