Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using `expo-splash-screen`'s Android-specific setup instructions [1], but with some important exceptions: - We don't (currently) intend to actually use `expo-splash-screen` [2], which means - Don't name a color "splashscreen_background". The API looks for that particular resource name. But we don't like its capitalization, which is inconsistent with the surrounding names [3]. - Don't use an image; we can add one later if we want. - Don't do anything marked "optional". - Don't go through a `splashscreen.xml` file; this extra indirection is unnecessary for us [4]. - Don't add an `android:theme="@style/AppTheme"` attribute to the `activity` element in our `AndroidManifest.xml`; it's redundant, with the same attribute already present in its parent `application` element. What's left is extremely small, and hard to describe, really, as "adding a splash screen". We're setting a background color, which will be what shows before our React elements have mounted and are showing. [1] https://github.com/expo/expo/tree/master/packages/expo-splash-screen#-configure-android [2] https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/React.20Navigation.20v5/near/1042794 [3] #4279 (comment) [4] #4279 (comment) Fixes: #2756
- Loading branch information