[
https://issues.apache.org/jira/browse/CB-14037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jcesarmobile closed CB-14037.
-----------------------------
Resolution: Invalid
Closing as the required information was not provided
> addEventListener does not work on iOS
> -------------------------------------
>
> Key: CB-14037
> URL: https://issues.apache.org/jira/browse/CB-14037
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-inappbrowser
> Affects Versions: cordova-ios 4.5.0
> Reporter: Guy Nesher
> Priority: Major
>
> events are not being fired for loadstop and loadstart (have not tested the
> rest of the events) on iOS (works fine on Android)
> Using the following code:
> {code:java}
> const browser =
> cordova.InAppBrowser.open(`https://${this.companyName}.${this.domain}/api/v1/saml`,
> "_blank", "location=no,toolbar=no");
> browser.addEventListener("loadstop", (event: InAppBrowserEvent) => {
> console.log("page changed", event.url);
> });
> {code}
> Tested on Cordova 7.1.0 and cordova-plugin-inappbrowser 3.0.0
>
> The plugin repo does mention an issue with OSX (_blank not being supported,
> and events relying on _blank) but this should not effect iOS to the best of
> my knowledge
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]