How to use the react-native-bootsplash.hide function in react-native-bootsplash

To help you get started, we’ve selected a few react-native-bootsplash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github RocketChat / Rocket.Chat.ReactNative / storybook / index.js View on Github external
import { AppRegistry } from 'react-native';
import { getStorybookUI, configure } from '@storybook/react-native'; // eslint-disable-line

import RNBootSplash from 'react-native-bootsplash';
import 'react-native-gesture-handler';


// import stories
configure(() => {
}, module);

// Refer to
// To find allowed options for getStorybookUI
const StorybookUIRoot = getStorybookUI({});

// If you are using React Native vanilla and after installation you don't see your app name here, write it manually.
// If you use Expo you can safely remove this line.
AppRegistry.registerComponent('RocketChatRN', () => StorybookUIRoot);

export default StorybookUIRoot;
github zoontek / react-native-bootsplash / example / App.js View on Github external
let init = async () => {

    // You can uncomment this line to add a delay on app startup
    // let data = await fakeApiCallWithoutBadNetwork(3000);

    let useNativeDriver = true;

    Animated.stagger(250, [
      Animated.spring(translateY.current, { useNativeDriver, toValue: -50 }),
      Animated.spring(translateY.current, {
        toValue: Dimensions.get("window").height,

    Animated.timing(opacity.current, {
github pankod / react-native-boilerplate / src / App.tsx View on Github external
public componentDidMount(): void {
github berty / berty / js / packages / messenger-app / App.tsx View on Github external
useMountEffect(() => {
		RNBootSplash.hide({ fade: true })
	return null


Display a bootsplash on your app starts. Hide it when you want.

Latest version published 6 days ago

Package Health Score

86 / 100
Full package analysis

Popular react-native-bootsplash functions