Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@expo/configure-splash-screen
Advanced tools
Supplementary module for 'expo-splash-screen' providing cli configuration 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-screen
.StatusBar
's attributes:
hiding
,style
.expo-splash-screen
to show given .png
image.CONTAIN
, COVER
and NATIVE
modes from expo-splash-screen
.StatusBar
's attributes:
hiding
,style
,backgroundColor
,translucency
.Command syntax:
yarn run configure-splash-screen [options]
-p, --platform <platform>
- Selected platform to configure. Available values: "android" | "ios" | "all" (default: "all").-b, --background-color <color>
- (required) Valid css-formatted color (hex (#RRGGBB[AA]), rgb[a], hsl[a], named color (https://drafts.csswg.org/css-color/#named-colors)) that would be used as the background color for native splash screen view.-i, --image-path <path>
- Path to valid .png image that will be displayed on the splash screen.-r, --image-resize-mode <resizeMode>
- Resize mode to be used for the splash screen image. Available only if 'image-path' is provided as well. Available values: "contain" | "cover" | "native" ("native" is only available for Android)) (default: "contain"). See resize modes for more information.--dark-mode-background-color <color>
- Color (see 'background-color' supported formats) that would be used as the background color for the splash screen in dark mode. Providing this option enables other dark-mode related options.--dark-mode-image-path <path>
- Path to valid .png image that will be displayed on the splash screen in dark mode only. Available only if 'dark-mode-background-color' is provided as well.--status-bar-style <style>
- Customizes the color of the status bar icons. Available values: "default" | "light-content" | "dark-content" (default: "default").--status-bar-hidden
- Hides the status bar.--status-bar-background-color <color>
- (only for Android platform) Customizes the background color of the status bar. Accepts a valid color (see 'background-color' supported formats).--status-bar-translucent
- (only for Android platform) Makes the status bar translucent (enables drawing under the status bar area).--dark-mode-status-bar-style <style>
- (only for Android platform) The same as 'status-bar-style', but applied only in dark mode. Available only if 'dark-mode-background-color' and 'status-bar-style' are provided as well.--dark-mode-status-bar-background-color <color>
- (only for Android platform) The same as 'status-bar-background-color', but applied only in the dark mode. Available only if 'dark-mode-background-color' and 'status-bar-style' are provided as well.To see all the available options:
yarn run expo-splash-screen --help
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.
FAQs
Supplementary module for 'expo-splash-screen' providing cli configuration command
The npm package @expo/configure-splash-screen receives a total of 32,119 weekly downloads. As such, @expo/configure-splash-screen popularity was classified as popular.
We found that @expo/configure-splash-screen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 25 open source maintainers collaborating on the project.
Did you know?
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.