Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

fix the splash screen warning #221

Closed
wants to merge 2 commits into from

Conversation

liuyinglao
Copy link
Contributor

@liuyinglao liuyinglao commented Jul 17, 2023

Summary

The Android app is throwing a splash screen error at starting the app. This is fixing the error. (P791684209)

Unhandled promise rejection [Error: No native splash screen registered for provided activity. Please configure your application's main Activity to call 'SplashScreen.show' (https://github.com/expo/expo/tree/main/packages/expo-splash-screen#-configure-android).]

Reading that helps:

https://github.com/expo/expo/tree/main/packages/expo-splash-screen#-configure-androidmanifestxml
https://docs.expo.dev/versions/latest/sdk/splash-screen/

Changelog

[Error] [Android] - Get rid of splash-screen error msg

Test Plan

yarn expo run:android and see error msg is gone

@vercel
Copy link

vercel bot commented Jul 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
playtorch ⬜️ Ignored (Inspect) Jul 17, 2023 7:01am

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 17, 2023
@liuyinglao
Copy link
Contributor Author

@facebook-github-bot import

@facebook-github-bot
Copy link
Contributor

@liuyinglao has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@liuyinglao merged this pull request in f4ce3cd.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants