cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From za...@apache.org
Subject [6/8] git commit: CB-5416 - Adding support for auto-managing permissions
Date Tue, 20 May 2014 18:50:57 GMT
CB-5416 - Adding support for auto-managing permissions


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

Branch: refs/heads/master
Commit: d4558831838ae3070de46ef8bcaa5e7174a1db7d
Parents: 1ac2200
Author: Rodrigo Silveira <rodrigos@outlook.com>
Authored: Tue Apr 22 15:07:19 2014 -0400
Committer: Rodrigo Silveira <rodrigos@outlook.com>
Committed: Fri May 2 12:43:49 2014 -0700

----------------------------------------------------------------------
 doc/index.md | 10 ----------
 plugin.xml   |  8 +++-----
 2 files changed, 3 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/d4558831/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 038af3d..8b53a2f 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -49,16 +49,6 @@ see the Privacy Guide.
 
     cordova plugin add org.apache.cordova.geolocation
 
-### Firefox OS Quirks
-
-Create __www/manifest.webapp__ as described in 
-[Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest).
-Add permisions: 
-
-    "permissions": {
-		"geolocation": { "description": "Used to position the map to your current position" }
-	}
-
 ## Supported Platforms
 
 - Amazon Fire OS

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/d4558831/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index f395fa4..716dffe 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -201,11 +201,9 @@ xmlns:android="http://schemas.android.com/apk/res/android"
 
     <!-- firefoxos -->
     <platform name="firefoxos">
-        <config-file target="config.xml" parent="/*">
-            <feature name="Geolocation">
-                <param name="firefoxos-package" value="Geolocation" />
-            </feature>
-        </config-file>
+      <config-file target="config.xml" parent="/*">
+          <permission name="geolocation" description="Required for accessing user location."
/>
+      </config-file>
 
         <js-module src="src/firefoxos/GeolocationProxy.js" name="GeolocationProxy">
             <runs />


Mime
View raw message