cordova-plugin-statusbar icon indicating copy to clipboard operation
cordova-plugin-statusbar copied to clipboard

Status bar and software buttons keeps flashing

Open ghost opened this issue 3 years ago • 6 comments

Bug Report

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 really 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 actually happen?

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

Information

Reproduce the issue: • 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

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

It is possible that you need to take the steps a few times, because it is not a consistence issue.

Command or Code

ionic cordova run android

Environment, Platform, Device

Ionic info: afbeelding

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

Version information

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

Checklist

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

ghost avatar Oct 16 '20 13:10 ghost

I am also experiencing this problem with Zebra TC56

ricardodebeijer avatar Mar 18 '21 12:03 ricardodebeijer

We are also experiencing it on a Zebra MC33

chrisbinnefeld avatar Mar 18 '21 13:03 chrisbinnefeld

  • Moto G5 @ 8.1.0

kbrownlees avatar Mar 31 '21 02:03 kbrownlees

My team is also experiencing a similar issue with our Zebra TC75EKs after upgrading to Android 8.1.0.

JoshKlingler avatar Apr 05 '21 18:04 JoshKlingler

@JoshKlingler As you are also experiencing this on Zebra devices, please check out the following post on the Ionic Forum: https://forum.ionicframework.com/t/status-bar-in-ionic-keeps-flashing-or-stays-white/198142 From our testing it looks like it has more to do with the use of ion-menu then the status bar (eg this plugin)

ricardodebeijer avatar Apr 08 '21 06:04 ricardodebeijer

Same issue with Zebra TC20 on Capacitor app.

Fixed adding <item name="android:windowBackground">@android:color/transparent</item> to AppTheme.NoActionBar in styles.xml as mentioned in:

https://forum.ionicframework.com/t/status-bar-in-ionic-keeps-flashing-or-stays-white/198142/28

srbarba avatar Feb 23 '22 10:02 srbarba