Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
cordova-ios 4.5.0
-
None
-
None
Description
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:
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); });
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