Instead of editing splash screen with Android Studio and Xcode. There should be a file called “SplashScreen.js” to edit the splash screen for both iOS and Android.
Splash screens are not "code", they are _very_ platform-specific and very, _very_ special case. They are created as native platform entity and use in build process by corresponding build tools. Even more, they do not behave not like executable-like - for example iOS will use its layout system to display splash screen once and then will cache the result as bitmap (or something similar) and reuse it on following application launches for god knows how long.
Splash screens are designed to be to displayed as fast as possible (by they very definition) and attempting to hijack this (if it's possible at all - imagine starting js thread to layout and display components defined in something like SplashScreen.js - it's pretty much the same as starting an app itself, thous defeating the purpose) will most likely result in worst performance;
That said however, I do support the idea that, since splash screens are unavoidable, API similar to bootsplash that allows to imperatively hide/show splash screen should be included in React Native core instead of separate package.
Yeah, this should be integreated ditectly into react-native, so we can stop relaying on outdated 3rd party libraries and get our hands dirty with native side of the code
@Hasnain Ali maybe this can help you https://github.com/zoontek/react-native-bootsplash/blob/master/README.md
This is possible if you want to mimic the splash screen, by creating a custom screen but I think this should be handle from the native side, as the splash screen must also cover the screen when the system is loading JS
you can use react native splash screen, it allow you to control when you want to hide or show it