cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From za...@apache.org
Subject [1/2] git commit: Adding permission info
Date Wed, 04 Jun 2014 13:29:10 GMT
Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 03e1715cf -> 75cadab5e


Adding permission info


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/8fea6be6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/8fea6be6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/8fea6be6

Branch: refs/heads/master
Commit: 8fea6be60a27498f09957b791072a74b0de5b945
Parents: abf757e
Author: Rodrigo Silveira <rodrigos@outlook.com>
Authored: Wed May 28 12:36:59 2014 -0700
Committer: Rodrigo Silveira <rodrigos@outlook.com>
Committed: Wed May 28 12:36:59 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/8fea6be6/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 760831a..1db39db 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -30,17 +30,6 @@ and can't access Cordova APIs.
 
     cordova plugin add org.apache.cordova.inappbrowser
 
-### Firefox OS 
-
-Create __www/manifest.webapp__ as described in 
-[Manifest Docs](https://developer.mozilla.org/en-US/Apps/Developing/Manifest).
-Add relevant permisions.
-
-	"permissions": {
-		"browser": {}
-    }
-    
-
 ## window.open
 
 Opens a URL in a new `InAppBrowser` instance, the current browser

http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/8fea6be6/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index fcb1837..37c658e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -165,6 +165,9 @@
         
     <!-- firefoxos -->
     <platform name="firefoxos">
+        <config-file target="config.xml" parent="/*">
+            <permission name="browser" description="Enables the app to implement a browser
in an iframe." />
+        </config-file>
         <js-module src="www/inappbrowser.js" name="inappbrowser">
             <clobbers target="window.open" />
         </js-module>


Mime
View raw message