mehcode / rn-splash-screen

A JavaScript-controlled splash-screen for React Native designed to be run directly after the native splash-screen.
MIT License
350 stars 95 forks source link

Control over status bar during splash screen #11

Closed mvaivre closed 7 years ago

mvaivre commented 8 years ago

Would it be possible to give the user the ability to define the status bar behavior / style when the splash screen is displayed?

I manually added <item name="android:windowFullscreen">true</item> in the package's RNSplashScreen_SplashTheme to achieve that, but that's obviously not optimal.

mehcode commented 8 years ago

I'd definitely accept a PR for an argument to SplashScreen.show or similar. You can always override the theme by copying it from this project into your own styles.xml.

sibelius commented 8 years ago

@mvaivre could u share ur style to hide the status bar?

mehcode commented 7 years ago

Closing but I'll still accept a PR here