/rn-splash-screen

A JavaScript-controlled splash-screen for React Native designed to be run directly after the native splash-screen.

Primary LanguageObjective-CMIT LicenseMIT

React Native Splash Screen

npm npm npm npm

A JavaScript-controlled splash-screen designed to be run directly after the native splash-screen.

Install

  1. npm install --save rn-splash-screen

  2. react-native link rn-splash-screen

Configure

Usage

The splash screen must be hidden from JavaScript. This can be done as late as possible so as to give your application more time to "load".

import SplashScreen from "rn-splash-screen";

// Hide the active splash screen
SplashScreen.hide();

Credits