I’ve updated my app to SDK 21, and I can’t seem to get the splash screen image to appear after building to a standalone iOS app. When the standalone app loads in iOS it opens with my background color, fades to white, then fades to my app started. This takes about 1 second (which is better than SDK 20), but I don’t see any splash image now.
Here’s the related piece of my app.json
file:
{
"expo": {
"sdkVersion": "21.0.0",
"ios": {
"splash": {
"backgroundColor": "#ffbb37",
"icon": "./app/assets/images/splash-screen.png",
"resizeMode": "cover"
}
}
}
}
The image I’m trying to use is a 2048x2048 .png image.
Here’s a segment of my dependencies, in case I missed something during the update:
{
"dependencies": {
"expo": "^21.0.0",
"react": "16.0.0-alpha.12",
"react-native": "https://github.com/expo/react-native/archive/sdk-21.0.2.tar.gz",
}
}
Any help would be greatly appreciated. I noticed the splash prop in app.json
is now a child of "ios"
, which it wasn’t isn SDK 20, did I set it up incorrectly? Thanks in advance.