ioclaudio opened a new issue #536: Events not raised on iPhone URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/536 Hi, it seems that the event "loadstop" on the iPhone is never raised. The documentation says that "_self" is not supported on iOS, so the pages are opened into the external browser Safari. Is this the reason why the events don't work? Are the events usable on iOS? If I run this code into a Ionic4 app: `const browserRef = this.iab .create( paymentUrl, '_self', 'toolbar=yes,fullscreen=no,hidden=no,location=no,clearsessioncache=yes,clearcache=yes,zoom=no' ); // Event raised when the browser loads a page browserRef.on('loadstop').subscribe(event => { console.log('event:', event); alert('url:' + event.url); }` The alert is never printed on iOS, on Android it works. I'm using: `iPhone 7 iOS 12.3.1` The app is done with Ionic4: `Ionic: Ionic CLI : 5.2.1 Ionic Framework : @ionic/angular 4.3.0 @angular-devkit/build-angular : 0.13.9 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.3.8 @ionic/angular-toolkit : 1.5.1 Cordova: Cordova CLI : 9.0.0 ([email protected]) Cordova Platforms : android 8.0.0, ios 5.0.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 12 other plugins) Utility: cordova-res : 0.6.0 native-run : 0.2.2 C:\ProveElectron\bitsharingapp>ionic cordova plugins > cordova.cmd plugin ls cordova-plugin-device 2.0.2 "Device" cordova-plugin-file 6.0.1 "File" cordova-plugin-inappbrowser 3.0.0 "InAppBrowser" cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)" cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.1.0 "cordova-plugin-ionic-webview" ... es6-promise-plugin 4.2.2 "Promise"`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
