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:33:29 UTC

[2/4] git commit: [ubuntu] request location permission

[ubuntu] request location permission


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/52648f35
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/52648f35
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/52648f35

Branch: refs/heads/dev
Commit: 52648f3573caa77f50a45817bd757d922dd7abfd
Parents: 04b60f8
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Tue Jan 21 15:31:16 2014 +0400
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Tue Jan 21 15:31:16 2014 +0400

----------------------------------------------------------------------
 plugin.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/52648f35/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 57558c2..9d71799 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -168,6 +168,11 @@ xmlns:android="http://schemas.android.com/apk/res/android"
 
         <source-file src="src/ubuntu/geolocation.cpp" />
         <header-file src="src/ubuntu/geolocation.h" />
+        <config-file target="config.xml" parent="/*">
+            <feature name="Geolocation">
+                <param policy_group="location" policy_version="1" />
+            </feature>
+        </config-file>
     </platform>-->
 
     <!-- wp7 -->