You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/08/20 00:16:37 UTC

git commit: [windows8] added support for windows 8 only required permission addition

Updated Branches:
  refs/heads/dev b7f2204cf -> a14be36c8


[windows8] added support for windows 8 only required permission addition


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

Branch: refs/heads/dev
Commit: a14be36c89f786b131aa44d6c99c1f1799437b98
Parents: b7f2204
Author: purplecabbage <pu...@gmail.com>
Authored: Mon Aug 19 15:16:19 2013 -0700
Committer: purplecabbage <pu...@gmail.com>
Committed: Mon Aug 19 15:16:19 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/a14be36c/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 487b12f..14ac3d8 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -128,4 +128,11 @@ xmlns:android="http://schemas.android.com/apk/res/android"
         <source-file src="src/wp/Geolocation.cs" />
     </platform>
 
+    <!-- windows8 -->
+    <platform name="windows8">
+        <config-file target="package.appxmanifest" parent="/Package/Capabilities">
+            <DeviceCapability Name="location" />
+        </config-file>
+    </platform>
+
 </plugin>