Status bar in Ionic keeps flashing or stays white

Problem

The status bar in our and the ionic example (list and conferenceapp) apps flashes white and then stays white.

It sometimes keeps flashing which is annoying.

What is expected to happen?

The status bar should stay black or change to the color specified (but in the case of the demo the default behavior was expected)

What does happen?

The status bar flashes white and stays white. I cannot change it to another color

Reproduce the issue

Prepare

I used the example project by running:

  1. “ionic start myApp”
  2. Choose “Angular” (I have tried them all and all fail)
  3. Choose “list”
  4. When asked for “Integrate your new app with Capacitor to target native iOS and Android? (y/N)” I choose “N” (also with Capacitor I get the error)
  5. When asked for “Create free Ionic account? (y/N)” I choose “N”
  6. You have the code and example project as I have

Execute

• We open our app and everything works fine
• We close our app by going to the task windows and close the app by swiping it to the right
• Clear app data
• We open our app and everything still works fine
• We close our app by going to the task windows and close the app by swiping it to the right
• We reopen our app and the behavior is visible

Sometimes it is needed to do this a bunch of times, which does not help reproducing the error

Command to execute the Code

ionic cordova run android

Environment, Platform, Device

Ionic info:


Device: Zebra TC56DJ
Android: 8.1.0
Build number: 02-13-15.00-OG-U08-STD

Showcase

I have recorded my screen to show the issue.
In addition I will show the issue for one of our customers:
ShowCase.zip