Skip to content

Android Splash screen get visible again after using _system #1871

@SidiBecker

Description

@SidiBecker

Bug Report

Problem

Splash screen get visible again after open a _system URL and return to app on Android devices.

What is expected to happen?

Is expect to app hold the same state before open a url externaly (_system target).

What does actually happen?

Using _system target, the URL opens as usual, but when the user returns to app, the splash become visible again for some milliseconds. In some cases, the app restarts.

Visual example:
https://github.com/SidiBecker/in-app-browser-splash-bug/blob/master/reports/report.gif

Information

Command or Code

    this.inAppBrowser.create('https://google.com', '_system');

Full source-code: https://github.com/SidiBecker/in-app-browser-splash-bug

Environment, Platform, Device

Android devices.
Cordova-android: 14.0.1
Android SDK levels that I tested and got this behavior: 33, 34, 35

Version information

Ionic CLI : 6.20.5
Ionic Framework : not installed
@angular-devkit/build-angular : 20.3.12
@angular-devkit/schematics : 20.3.12
@angular/cli : 20.3.12
@ionic/angular-toolkit : 12.3.0

Cordova:

Cordova CLI : 13.0.0
Cordova Platforms : android 14.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 4 other plugins)

Utility:

cordova-res : not installed globally
native-run : 1.7.1

System:

NodeJS : v20.19.6 (C:\Program Files\nodejs\node.exe)
npm : 10.8.2
OS : Windows 10

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions