You can do it in the componentWillMount hook of your initial Scene with the static API of StatusBar:
componentWillMount() {
StatusBar.setHidden(true);
}
I change the status bar by native code.
Does this work for you @zccan ?
@jeroenbourgois yes this helps. thank you @Kerumen
this is not hidden status bar. Only hide text but bar still present
this is not hidden status bar. Only hide text but bar still present
That's not related with rnrf.
Use just react-native to do it. https://facebook.github.io/react-native/docs/statusbar.html.
Most helpful comment
You can do it in the
componentWillMounthook of your initialScenewith the static API ofStatusBar: