InAppBrowser doesn't work - android

I´m trying to open a file using InAppBrowser, here is my code:

launch(url) {
    this.platform.ready().then(() => {
       let browser = new InAppBrowser(url, '_blank', 'location=yes');
       browser.show();
      //window.open(url, '_system', 'location=true');
    });
}

I tried everything to make it work in android, even InAppBrowser.open who is deprecated, browser.show().

In local server and ios work fine, but in Android just open a window with the url, and no more :sob: it doesn´t opened the PDF, Can somebody help me?

Follow instructions from here https://ionicframework.com/docs/native/in-app-browser/, it’s working for me. Also, I would recommend using https://ionicframework.com/docs/native/browser-tab/ which I feel is better than inappbrowser to simply open web pages.