GitToTheHub opened a new issue, #289:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/289

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   Setting a background color should be applied on all Android versions
   
   ### What does actually happen?
   
   When setting the background color by `StatusBarBackgroundColor` in 
config.xml, it will not work on Android 13+. The status bar will stay black. 
This was tested with cordova-android 14.0.1. With cordova-android 15, it works.
   
   Example:
   
   `<preference name="StatusBarBackgroundColor" value="#ff0000" />`
   
   Should be a red opaque status bar
   
   Result:
   
   Android 12 API 31
   
   <img width="200" 
src="https://github.com/user-attachments/assets/47e1afa0-7b87-4dc1-a6fa-0edfdb0a8d36";
 />
   
   Android 13 API 33
   
   <img width="200" 
src="https://github.com/user-attachments/assets/976e4124-3a23-4b50-aedc-d9a67477c261";
 />
   
   cordova-android 15
   
   Android 12 API 31
   
   <img width="200" 
src="https://github.com/user-attachments/assets/bd0e0a3f-85a2-4446-94f5-2646507fc7e5";
 />
   
   Android 13 API 33
   
   <img width="200" 
src="https://github.com/user-attachments/assets/fac5ca94-ccaa-4dfd-afef-1759b50cc0bb";
 />
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to