-
Notifications
You must be signed in to change notification settings - Fork 2
Splash screen
In fact, a splash screen is required for each application, in the case with react-native
, this is an overlay for the user while the native resources are being loaded. Basically, the most common implementation is a simple screen with the primary color of the product and the brand logo in the center.
Actually, the base project has the implementation for the native splash screens for both platforms and it might be enough to change the colors and brand icon.
- Using
Xcode
, open BootSplash.storyboard and edit the resources; - Using
Android Studio
, open styles.xml and edit the resources.
The chosen solution will base on the navigation
which is used in the project. I wouldn't recommend using react-native-splash-screen since this library hasn't been maintained for a while, but on the other hand, this is the only possible solution in the case with react-native-navigation. You won't have any problems using react-navigation, and you'll be able to use a stable and maintained library react-native-boot-splash. Don't forget that all the complex logic might be implemented on the native side but it might require a longer timeline.