Merge remote-tracking branch 'rodrigo/auto-permission'
This commit is contained in:
commit
75cadab5ee
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
|
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
|
## window.open
|
||||||
|
|
||||||
Opens a URL in a new `InAppBrowser` instance, the current browser
|
Opens a URL in a new `InAppBrowser` instance, the current browser
|
||||||
|
@ -165,6 +165,9 @@
|
|||||||
|
|
||||||
<!-- firefoxos -->
|
<!-- firefoxos -->
|
||||||
<platform name="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">
|
<js-module src="www/inappbrowser.js" name="inappbrowser">
|
||||||
<clobbers target="window.open" />
|
<clobbers target="window.open" />
|
||||||
</js-module>
|
</js-module>
|
||||||
|
Loading…
Reference in New Issue
Block a user