Reputation: 4118
I am trying to disable status bar in Android. The command I use works, but on any event like reload, soft keyboard show etc. - the status bar shows up. How to make it not showing ever? Code I use:
render() {
return (
<View style={{flex: 1}}>
<StatusBar hidden={true} />
Upvotes: 0
Views: 847
Reputation: 1118
This seems related to this issue. (A fix should be land in 0.22)
[Android] Hidden reappears after screen lock #5991
I'm trying out the new cross-platform StatusBar component. One thing I noticed is that if I lock my Android phone screen on a view with , the status bar is visible again upon unlocking the phone.
I might think that focus on native components cause this bug too.
Upvotes: 4