You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/07/20 08:54:00 UTC

[jira] [Closed] (CB-13036) Use other cordova plugins with inAppBrowser

     [ https://issues.apache.org/jira/browse/CB-13036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-13036.
-----------------------------
    Resolution: Not A Problem

This is by design, InAppBrowser was created to load external and potentially insecure websites, so access to cordova apis is forbidden.

> Use other cordova plugins with inAppBrowser
> -------------------------------------------
>
>                 Key: CB-13036
>                 URL: https://issues.apache.org/jira/browse/CB-13036
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>            Reporter: Ivan Rozhkov
>
> I'm not sure if it is a bug or by design.
> I want to use some plugin with inappbrowser.
> I've read the docs and it is said https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/ :
> >  ... The InAppBrowser window behaves like a standard web browser, and can't access Cordova APIs.  ...
> Does it mean that I won't be able to use most of cordova plugins?
> I can't find a way to use cordova in app browser with other plugins
> For example, plugin https://github.com/markmarijnissen/cordova-plugin-share should be used like this:
> > window.plugins.socialsharing.share('Message only')
> But looks like I don't have access to window.plugins at all inside InAppBrowser.
> Is there a way to overcome it?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org