New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@expo/configure-splash-screen

Package Overview
Dependencies
Maintainers
20
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/configure-splash-screen

Supplementary module for 'expo-splash-screen' providing cli configuration command

0.1.1
Source
npm
Version published
Weekly downloads
39K
15.95%
Maintainers
20
Weekly downloads
 
Created
Source

@expo/configure-splash-screen

This package provides CLI command that helps you configure expo-splash-screen module. You can use it to configure your native iOS and Android project according to your needs without opening Xcode or Android Studio.

Content

🚀 Features

📱 iOS

🤖 Android

🗒 Usage

Command syntax:

yarn run @expo/configure-splash-screen --mode <mode> --platform "all" <backgroundColor> [imagePath]
  • mode - see resize modes. Available values: contain (default), cover, native (only on Android)
  • platform - select which platform to configure. Available values: all (default), ios, android
  • backgroundColor (required) - Color that will be used a background in splash screen view. Accepts formats from color-string library (rgb, rgba, hex, css named colors, hsl, hsla).
  • imagePath (optional) - Path to .png image that will be used in splash screen view. Not providing an image will make splash screen view display only a background color.

To see all the available options:

yarn run expo-splash-screen --help

🖥 Installation

This package is installed as a dependency of the expo-splash-screen package. Follow the installation instructions provided by expo-splash-screen package.

👏 Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Keywords

react-native

FAQs

Package last updated on 08 May 2020

Did you know?

Socket

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