nnaik1 opened a new issue, #257:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/257
# Feature Request
Requesting for a method to change background color and text/icon color
change of status bar only for one page. This page should also be available for
both iOS and Android.
## Motivation Behind Feature
<!-- Why should this feature be implemented? What problem does it solve? -->
Recently, with iPhone14 pro max dynamic island introduction, many apps were
having issue with statusBar. In our application, we were having black statusBar
and because of that dynamic Island merges with statusBar. This does not give
good user experience.
In many cases, App's launch page or login Page have different background
color than rest of the app. For example, in our app we have gray background on
login Page(its a fullPage with only two input fields and a submit button) and
once logged in The top Menu/Nav is with white background. Here, I want to
change the statusBar color for Gray for loginPage and white for rest of the
app.
It is a good to have feature as with constant change in UI and device
interface, one can have more control over their application.
## Feature Description
<!--
Describe your feature request in detail
Please provide any code examples or screenshots of what this feature would
look like
Are there any drawbacks? Will this break anything for existing users?
-->
currently we can change backgroundColor for statusBar form config.xml and
that applies to entire application.
changing statusBar from black to white :
<preference name="StatusBarBackgroundColor" value="#ffffff" />
<preference name="StatusBarStyle" value="default" />


``
## Alternatives or Workarounds
<!--
Describe alternatives or workarounds you are currently using
Are there ways to do this with existing functionality?
-->
--
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]