Status bar and software buttons keeps flashing
Opened this issue · 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
Device: Zebra TC56DJ
Android: 8.1.0
Build number: 02-13-15.00-OG-U08-STD
Version information
I used the example project by running:
- "ionic start myApp"
- Choose "Angular" (I have tried them all and all fail)
- Choose "list"
- 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)
- When asked for "Create free Ionic account? (y/N)" I choose "N"
- You have the code and example project as I have
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
I am also experiencing this problem with Zebra TC56
We are also experiencing it on a Zebra MC33
- Moto G5 @ 8.1.0
My team is also experiencing a similar issue with our Zebra TC75EKs after upgrading to Android 8.1.0.
@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)
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