as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
The @amazon-devices/expo-splash-screen library is used to tell the splash screen to remain visible until it has been explicitly told to hide. This is useful to do tasks that will happen behind the scenes such as making API calls, pre-loading fonts, animating the splash screen and so on.

Installation

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using npm install command.

Examples

You need to create top-level directory and there you need to place zip named SplashScreenImages.zip with desc.txt file (example content below) and _loop folder with splash.png file. Folder structure:
Example content of desc.txt file:
Splash screen example

API reference

Check out the dedicated documentation page for info about this library, API reference and more: Official Expo documentation for expo-splash-screen.

Methods

Implementation details

Splash screen doesn’t work on the Vega Virtual Device.

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最后修改于 2026年10月13日