Using InAppBrowser to make standalone app - Ionic

thank u so much. It really works for me. I’m working with ionic 4 latest version and this is the code i have use.

 this.platform.ready().then(() => {

      const browser = this.iab.create('http://youtube.lk/', '', 'location=no');
      browser.show();

      browser.on('exit').subscribe(() => {
        navigator['app'].exitApp();
      });


    });