I have configured splash screen by using expo-splash-screen
as per docs. I called SplashScreen.preventAutoHideAsync()
in App.js
file just for the testing purpose and it’s working as expected that App just stopped at Splash Screen. Then I created release apk by using following command,
npx react-native run-android --variant release
When I ran in release mode, App rendered the main View
though I didn’t call SplashScreen.hideAsync()
.
Hence, It’s clear that SplashScreen.preventAutoHideAsync()
is not showing any effect in release mode.
May I now where the issue is?