You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/06/10 12:01:24 UTC
[GitHub] [cordova-plugin-statusbar] crazyserver opened a new issue #213: tyleDefault will set light text instead of dark.
crazyserver opened a new issue #213:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/213
# Bug Report
## Problem
When dark mode is selected on the iOS settings, if you have a white background, using styleDefault will use light text instead of dark. Also tested using styleBlackOpaque with the same behaviour.
When dark mode is disabled, styleDefault will use dark text as expected.
Probably a new function styleDarkContent is needed.
### What is expected to happen?
Using styleDefault should use dark text.
### What does actually happen?
Using styleDefault will use light text instead of dark.
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
1. Open iOS system settings and set dark mode.
2. Open the app, and check white over white is applied.
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
```
StatusBar.overlaysWebView(false);
StatusBar.backgroundColorByHexString('#FFFFFF');
StatusBar.styleDefault();
```
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
Using latest version 2.4.3
iOS 14.5 or 14.6
### 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] -->
- [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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-statusbar] tobeagram edited a comment on issue #213: StyleDefault will set light text instead of dark.
Posted by GitBox <gi...@apache.org>.
tobeagram edited a comment on issue #213:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/213#issuecomment-934440448
#181 PR adds `styleDarkContent` – creating a new way to modify the status bar text to be dark on a white background.
--
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-statusbar] jonathanPoitz commented on issue #213: StyleDefault will set light text instead of dark.
Posted by GitBox <gi...@apache.org>.
jonathanPoitz commented on issue #213:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/213#issuecomment-1017554962
Hey all, we're using this plugin and are encountering issues in ios dark mode and would like to have a dark statusbar text on light background. Afais this is what Tobias implemented. Could somebody review his merge request?
--
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-statusbar] tobeagram commented on issue #213: StyleDefault will set light text instead of dark.
Posted by GitBox <gi...@apache.org>.
tobeagram commented on issue #213:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/213#issuecomment-934440448
#181 PR Request adds `styleDarkContent` – creating a new way to modify the status bar text to be dark on a white background.
--
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: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org