$ cnpm install expo-splash-screen-command
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.
expo-splash-screen to show given .png image.CONTAIN and COVER modes from expo-splash-screenexpo-splash-screen to show given .png image.CONTAIN, COVER and NATIVE modes from expo-splash-screenCommand syntax:
yarn run expo-splash-screen --mode "contain" (default) | "cover" | "native" (only on Android) --platform "all" (default) | "ios" | "android" <backgroundColor> (required) [imagePath] (optional)
To see all the available options:
yarn run expo-splash-screen --help
yarnInstead of
yarn run expo-splash-screen
you can go with:
npm run expo-splash-screen
or
npx expo-splash-screen
This package is installed as a dependency of the expo-splash-screen package. Follow the installation instructions provided by expo-splash-screen package.
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
Copyright 2013 - present © cnpmjs.org | Home |