apache / cordova-plugin-statusbar

Apache Cordova Status Bar Plugin
https://cordova.apache.org/
Apache License 2.0
618 stars 480 forks source link

On android 12, statusbar styleDefault method not work as expected #236

Closed raiyanihiren closed 1 year ago

raiyanihiren commented 1 year ago

Bug Report

statusbar text color stay white, event we change color using StatusBar.styleDefault()

Problem

When we call, StatusBar.styleDefault() method then status bar font color must be converted to dark/black. But Its always stay light/white Issue is only on >=12 Android Version <12 all is working as expected.

->Current Issue 183003529-f69135cc-3b94-4c94-9adb-773d2ae27c4d

->It should be like 183003571-8d5964af-d5f6-43f1-a1a3-81768969338d

Environment, Platform, Device

I am phasing issue on android environment,Device is OnePlus Nord with Android 12

Version information

Cordova-android version 11.0.0 StatusBar plugin version is 3.0.0 Android OS Version is 12 image