expo-splash-screen-command
v0.1.3
Published
Supplementary module for 'expo-splash-screen' providing installation command
Downloads
15
Maintainers
Readme
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.
Content
🚀 Features
📱 iOS
- Configures background color for native splash screen.
- Configures
expo-splash-screen
to show given.png
image. - supports
CONTAIN
andCOVER
modes fromexpo-splash-screen
🤖 Android
- Configures background color for native splash screen.
- Configures
expo-splash-screen
to show given.png
image. - supports
CONTAIN
,COVER
andNATIVE
modes fromexpo-splash-screen
🗒 Usage
Command 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
Alternatives to yarn
Instead of
yarn run expo-splash-screen
you can go with:
npm run expo-splash-screen
or
npx expo-splash-screen
🖥 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.