We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 492f671 commit 271b84cCopy full SHA for 271b84c
utils/splash/splash.android.tsx
@@ -2,8 +2,13 @@ import { setAndroidColors } from "@styles/colors/helpers";
2
import { Appearance } from "react-native";
3
import RNBootSplash from "react-native-bootsplash";
4
5
+export function preventSplashScreenAutoHide() {
6
+ // RNBootSplash keeps the splash screen visible by default until hide() is called
7
+ return Promise.resolve();
8
+}
9
+
10
export const hideSplashScreen = async () => {
- await RNBootSplash.hide();
11
+ await RNBootSplash.hide({ fade: true });
12
// Fixing the status bar after hiding Splash Screen
13
// TODO => try to upgrade RNBootSplash and play
14
// with the XML values
0 commit comments