[ 
https://issues.apache.org/jira/browse/CB-14037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441096#comment-16441096
 ] 

jcesarmobile commented on CB-14037:
-----------------------------------

are you using wkwebview engine plugin or ionic webview?

> 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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to