Splash Screen Module
The Splash Screen module shows or hides the native launch splash screen.
import { SplashScreen } from '@shopgate/native-modules';Example React component
Section titled “Example React component”import { useEffect } from 'react';import { SplashScreen } from '@shopgate/native-modules';
export function AppReady() { useEffect(() => { const hideSplashScreen = async () => SplashScreen.hide(); hideSplashScreen(); }, []); return null;}hide()
Section titled “hide()”await SplashScreen.hide();show()
Section titled “show()”await SplashScreen.show();Both methods return Promise<void>.

