-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Set StatusBarStyle from config.xml #728
Comments
I have a similar requirement except I need to set the statusbar background color dynamically as well as setting the statusbar text color to white. |
mrbberra
added a commit
to mrbberra/cordova-plugin-inappbrowser
that referenced
this issue
Aug 18, 2020
5 tasks
Merged
5 tasks
I have same issue here for dark theme, because statusbar at inappbrowser plugin always read the default style (black text). |
dpa99c
added a commit
that referenced
this issue
Sep 1, 2020
(ios) Add InAppBrowserStatusBarStyle preference. Resolves #728
Have you been able to fix the incident? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Motivation Behind Feature
With the merge of GH-656, the status bar now shows up with the color of the app status bar, which I've been setting using cordova-plugin-statusbar. The InAppBrowser, however, still overrides the text in the status bar with
UIStatusBarStyleDefault
(black text), which is a problem if the status bar has a dark background color.Example
Feature Description
Set IAB iOS status bar color from the cordova config file. I'm imagining something like
<preference name="InAppBrowserStatusBarStyle" value="lightcontent" />
I've got some work on this I've started I can submit a PR for- just changing the
preferredStatusBarStyle
. I guess a more complex implementation would be to add a method to modify it dynamically (since you can modify the status bar color dynamically using that plugin)... seems like overkill to me though.The text was updated successfully, but these errors were encountered: