In app browser opens splash screen

Hello guys,

I don’t know exactly what’s happened. In app browser started to open splash screen on my app.
It worked fine without this kind of behavior a few days ago.
Now all in app browser links open up splash screen on start and just hang for up to ten seconds.
Also I found browser url tab on top has disappeared.
Did I destroy in app browser setting?
How can I fix this error?


I still can’t find any solution for this.

I followed this tutorial and am using InAppBrowserOptions but it still opens up splash screen for ten seconds.

My question is… why do I see splash screen when I open up in app browser?
How is it triggering splash screen plug in?

I tried to use this.splashScreen.hide() on in app browser link function but it really didn’t help. It hides splash screen as soon as it shows up but then it will display white blank screen instead.
Web site is already loaded in background. I know that because website’s background music is playing… the splash screen will not disappear until I close app with home button and reopen up.

Any advice would be appreciated.

I solved the problem by manually setting

“_blank” instead of “_self”

I wonder what suddenly changed in app browser setting behind the scenes… it took me many hours to figure it out.

I think this is a bug of in-app-browser plugin… it shouldn’t open splash screen for any reason… and it doesn’t come with any setting which can control this behavior. Why would you need splash screen for opening up a link anyways?


Cool you figured out

Have you check if an issue exist about it and if no, reported it?"In%20Progress"%2C%20Reopened)%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20"cordova-plugin-inappbrowser"%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC

1 Like

I reported it on ionic team github page.

This happens when you don’t state “_blank” or “_self” in inappbrowser function.

Surprisingly you can’t see this error in --release build apk.
Only prod build apk (or --aot --minifyjs --minifycss --release) will show splash screen when opening up in app browser link.

There are three modes in cordova in app browser:

public openWithSystemBrowser(url : string){
    let target = "_system";
public openWithInAppBrowser(url : string){
    let target = "_blank";
public openWithCordovaBrowser(url : string){
    let target = "_self";

I can tell you _self is totally useless because of this error on --prod build apk file.
and _self is the default if you don’t state anything.

Now it’s working fine but I want to switch to Capacitor’s new in app browser when capacitor becomes stable.

you mean ionic native?

anyway good to know and good that you reported it

I’m reporting it to cordova tracker as well.
I spent my entire day with this error actually.

1 Like