xavierserrai opened a new issue, #1692:
URL: https://github.com/apache/cordova-ios/issues/1692
# Bug Report
## Problem
### What is expected to happen?
The status bar should be able to be configured from config.xml and the color
should be able to be changed from the new js api using:
``````
window.statusbar.setBackgroundColor('#HEX_COLOR');
``````
### What does actually happen?
Configuration in config.xml:
```````
<preference name="StatusBarOverLaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#FF0000" />
```````
Tested in several devices with the Apache Cordova Hello World App:
- iPhone SE - iOS 26.1
When the app starts, it shows the statusbar with a red background, but
immediatelly disappears and is set to transparent mode.
When calling:
``````
window.statusbar.setBackgroundColor('#HEX_COLOR');
``````
Anything happens.
- iPhone 12 Pro - iOS 27.0 public beta 5
The app starts and the status bar is allways in transparent mode.
When calling:
``````
window.statusbar.setBackgroundColor('#HEX_COLOR');
``````
Anything happens.
## Information
I have not been able to find documentation to use that new embedded
statusbar feature.
### Command or Code
Just build and install
### Environment, Platform, Device
- iPhone SE - iOS 26.1
- iPhone 12 Pro - iOS 27.0 public beta 5
### Version information
cordova cli 13.0.0
cordova-ios 8.1.1
Version 27.0 beta 5
MacOS Tahoe 26.5 (25F71)
## 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
--
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]