Kureev / Kureev/react-native-navbar
Styling Android status bar
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I think it should be possible to style the Android status bar through your great navigation bar component.
I don't understand why it is only possible to style the iOS status bar style: (from react-native-navbar)
```
customizeStatusBar() {
const { statusBar } = this.props;
if (Platform.OS === 'ios') {
if (statusBar.style) {
StatusBar.setBarStyle(statusBar.style);
}
const animation = statusBar.hidden ?
statusBar.hideAnimation : statusBar.showAnimation;
StatusBar.showHideTransition = animation;
StatusBar.hidden = statusBar.hidden;
}
}
```
Best regards
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the navigation bar component's status-bar handling and compare the shown customizeStatusBar() behavior with React Native's Android status-bar support. Determine the component API and Android behavior needed for styling, then verify that the requested styling works through the navigation bar component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100