Please provide the following:
- SDK Version: 40.0.0
- Platforms(Android/iOS/web/all): Android
Hi!
I recently upgraded from SDK Version 38 to 40. My app used to have a splash screen that displayed correctly using the AppLoading component, but since the upgrade, my splash screen does not appear in the Expo Client and appears as the Expo logo in standalone builds.
I’ve already modified the import statement according to the release notes, as you can see in my code below.
App.js
// ...
import AppLoading from 'expo-app-loading';
// ...
export default function App() {
const [fontsLoaded] = useFonts({
// ...
})
if (!fontsLoaded) {
return <AppLoading />
} else {
return (
<Navigator />
);
}
}
app.json
{
"expo": {
...
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
...
}
How should I proceed to get my splash screen back?
Thanks!