About the global configuration of react-native-navigation statusBar

https://github.com/wix/react-.

react-native-navigation provides a way to change the statusBar, with the static attribute, which is a problem. If I want to change the statusBar, globally, if I write it officially, I have to write static navigatorStyle almost once in every screen. Is there any way to configure it in one place and take effect globally?

Mar.22,2021

if your stausBar is uniform across pages. Then you can define it once in the entry component. This is the


provided by ReactNative. You can set statusbar natively and make android similar to iOS. By default, you can start drawing the interface under statusbar. For the
code, please refer to https://github.com/wuyunqiang.

.
Menu