Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mehcode/rn-splash-screen
A JavaScript-controlled splash-screen for React Native designed to be run directly after the native splash-screen.
https://github.com/mehcode/rn-splash-screen
react-native splash-screen
Last synced: 7 days ago
JSON representation
A JavaScript-controlled splash-screen for React Native designed to be run directly after the native splash-screen.
- Host: GitHub
- URL: https://github.com/mehcode/rn-splash-screen
- Owner: mehcode
- License: mit
- Created: 2016-06-22T07:09:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-03T15:42:22.000Z (over 5 years ago)
- Last Synced: 2024-10-14T09:15:30.199Z (3 months ago)
- Topics: react-native, splash-screen
- Language: Objective-C
- Homepage:
- Size: 4.57 MB
- Stars: 350
- Watchers: 12
- Forks: 95
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Native Splash Screen
[![npm](https://img.shields.io/npm/v/rn-splash-screen.svg?maxAge=2592000)](https://www.npmjs.com/package/rn-splash-screen)
[![npm](https://img.shields.io/npm/dm/rn-splash-screen.svg?maxAge=2592000)](https://www.npmjs.com/package/rn-splash-screen)
[![npm](https://img.shields.io/npm/dt/rn-splash-screen.svg?maxAge=2592000?style=flat)](https://www.npmjs.com/package/rn-splash-screen)
[![npm](https://img.shields.io/npm/l/rn-splash-screen.svg?maxAge=2592000)](https://github.com/mehcode/rn-splash-screen/blob/master/LICENSE)
> 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
- [Android](./docs/android.md)
- [iOS](./docs/ios.md)## 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".```js
import SplashScreen from "rn-splash-screen";// Hide the active splash screen
SplashScreen.hide();
```## Credits
- [@remobile](https://github.com/remobile)