Socket
Socket
Sign inDemoInstall

@jbcampbell/rn-splash

Package Overview
Dependencies
21
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jbcampbell/rn-splash

Automatic splash screen cropping for React Native


Version published
Maintainers
1
Created

Readme

Source

rn-splash

Automatic splash screen generator for React Native. Based on cordova-splash. Create a splash screen once in the root folder of your React Native project and use rn-splash to automatically crop and copy it for all the platforms your project supports.

The splash screen image should be 2208x2208 px with a center square of about 1200x1200 px. The image may be cropped around the center square. You can also use larger images with similar proportions.

Installation

$ sudo npm install rn-splash -g

Requirements

  • ImageMagick installed (Mac: brew install imagemagick, Debian/Ubuntu: sudo apt-get install imagemagick, Windows: See here, install "Legacy tools")
  • React Natives app.json file must exist in the root folder

Usage

Create a splash.png file in the root folder of your RN project and run:

$ rn-splash

You also can specify manually a location for your config.xml or splash.png:

$ rn-splash --config=config.xml --splash=splash.png

Icons

Check out app-icon

License

MIT

Keywords

FAQs

Last updated on 24 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc