0.1.3 • Published 6 years ago
expo-splash-screen-command v0.1.3
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-screento show given.pngimage. - supports
CONTAINandCOVERmodes fromexpo-splash-screen
🤖 Android
- Configures background color for native splash screen.
- Configures
expo-splash-screento show given.pngimage. - supports
CONTAIN,COVERandNATIVEmodes 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 --helpAlternatives to yarn
Instead of
yarn run expo-splash-screenyou can go with:
npm run expo-splash-screenor
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.