In App Browser addEventListener

Hello everybody,

i need to use in-app-broswer plugins and be able to handle events.

I noticed however that the example provided on the site (In-App Browser | Cordova Plugin for In-App Browsers on Ionic Apps) does not refer to methods for listening to events and
use a different approach from the plugin documentation (GitHub - apache/cordova-plugin-inappbrowser: Apache Cordova Plugin inappbrowser), the latter doesn’t work because cordova doesn’t contain an inAppBroswer property.

can someone help me?

Hello @smont11,

what are you trying to achieve? Doesn’t the on() method work for you?

const browser = this.iab.create('https://ionicframework.com/');
browser.on('loadstop').subscribe(event => {
  // your code goes here
});

browser.close();

thanks for sharing information of App browser

Check out the website
https://www.phonak.com/en-uk/professionals/become-a-partner