@expo/configure-splash-screen
Supplementary module for 'expo-splash-screen' providing cli configuration command
Last updated 2 hours ago by dsokal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @expo/configure-splash-screen 
SYNC missed versions from official npm registry.

@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.

Current Tags

  • 0.1.8                                ...           latest (2 hours ago)

9 Versions

  • 0.1.8                                ...           2 hours ago
  • 0.1.7                                ...           11 days ago
  • 0.1.6                                ...           11 days ago
  • 0.1.5                                ...           12 days ago
  • 0.1.4                                ...           14 days ago
  • 0.1.3                                ...           15 days ago
  • 0.1.2                                ...           17 days ago
  • 0.1.1                                ...           18 days ago
  • 0.1.0                                ...           20 days ago

Copyright 2014 - 2017 © taobao.org |