InAppBrowser only shows a blank screen

When I try to test my InAppBrowser in the Ionic DevApp, I get a blank white screen with the Done and Back/Forward buttons in the bottom.
Currently, I am using the code straight from Ionic’s docs:
constructor(private iab: InAppBrowser) {
const browser = this.iab.create(‘https://www.ionicframework.com/’, “_blank”, “location=yes”);
browser.show();

I can visit the website normally on my device.

Does anyone have any ideas on how to make it show the webpage?

1 Like

I am facing the same issue. Have you been able to resolve the issue ? Apparently webpage opens when _self is used but not when _blank is used.

Hello,
The issue was that I was testing it in the Ionic Dev app. All I had to do was use and actual device or Xcode’s simulator and the page will show up.

You do have to use _blank.

Sorry if that doesn’t help.

I have the same problem. Also, when i open the external app successfully and then return, i get an black screen (I tried with _self, _blank and _system and the same result). What can i do?

I have been having the same issues running v3.1.0.

I have worked out that is works fine with a fresh install of the app, able to do multiple open requests. Once the app is restarted we only getting the White screen on IOS 13.3.1 . If App is reinstalled it is working again.

I have change the ATS setting to allow insure connection(URL is https) and Attribute loading which has solved it in 50% of the cases. This is only on devices running IOS 13+.

Any idea on how to solve this White screen of death?