cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Rozhkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13036) Use other cordova plugins with inAppBrowser
Date Wed, 19 Jul 2017 09:14:00 GMT
Ivan Rozhkov created CB-13036:
---------------------------------

             Summary: 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


Mime
View raw message