Adding permission info

This commit is contained in:
Rodrigo Silveira 2014-05-28 12:36:59 -07:00
parent abf757edff
commit 8fea6be60a
2 changed files with 3 additions and 11 deletions

View File

@ -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

View File

@ -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>