Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.11 KB

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