The StatusBar barStyle in android5.1 is invalid
See original GitHub issueIs this a bug report?
yes
Have you read the Contributing Guidelines?
yes
Environment
Environment: OS: macOS Sierra 10.12.6 Node: 8.4.0 Yarn: 1.0.0 npm: 5.3.0 Watchman: 4.9.0 Xcode: Xcode 9.0.1 Build version 9A1004 Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed) react: 16.0.0 => 16.0.0 react-native: 0.50.3 => 0.50.3
Steps to Reproduce
demo1:
<StatusBar barStyle="dark-content" />
demo2:
<StatusBar barStyle="light-content" />
Expected Behavior
I want demo1 status bar text color to white, demo2 status bar text color is black, but it is invalid in android5.1, the status bar text color is always white.android6.0 is ok. I do not know what to do.
Actual Behavior
is android5.1.
I change barStyle and the color of the status bar is always white.
demo:
Reproducible Demo
Need android5.1, no demo
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:7
Top Results From Across the Web
the barStyle="dark-content" of the statusBar does not work on ...
barStyle is iOS only prop so there is no possibility to change status bar on android with this method. You can use backgroundColor...
Read more >cordova-plugin-statusbar
StatusBarStyle (status bar style, defaults to lightcontent). ... The Android 5+ guidelines specify using a different color for the statusbar than your main ......
Read more >Statusbar - Supported Plugins - Ionic.io
The Status Bar plugin provides the ability to customize the appearance of the native mobile status bar, including setting visibility, background color, ...
Read more >Dynamic Status Bar Color (iOS & Android) in Xamarin ...
Have you been looking to get total control of that status bar on iOS/Android in your app? Changing the color and the tint...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue looks like a question that would be best asked on StackOverflow.
StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.
Will close this as this is really a question that should be asked on StackOverflow.
Yeah nothing is happening when I set translucent to true or false