Adding permission info
This commit is contained in:
parent
abf757edff
commit
8fea6be60a
11
doc/index.md
11
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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user