InAppBrowser native Ionic

Hi, i use ionic plugin add cordova-plugin-inappbrowser.
and this is my function:

linkOpen() {
    let browser = new InAppBrowser('https://ionic.io', '_system');
    browser.show();
  }

there is a possibility to hide the navigation bar and the customize the browser?

In older version of ionic i used this function without import nothing

linkOpen2(url) {
    this.platform.ready().then(() => {
      if (this.platform.is('android')) {
        window.open(url, '_blank', 'location=no, enableViewportScale=yes, zoom=no');
      }
      else {
        window.open(url, '_blank', 'location=no, enableViewportScale=yes');
      }
    })
  }

but i try with this version and the button doesn’t work.

Than You

Here is the list of options that you may use. https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/

new InAppBrowser('https://ionic.io', '_system', 'location=no', 'enableViewportScale=yes');