Photo by Christopher Gower on Unsplash

If you are working on react native and just jumped off from expo (using eject command) than there is a huge probability that you may get across this warning in your debugger

SplashScreen.hide() is deprecated


The two step solution to this problem that found suitable for my case is given below.

First Step:

Go to the file at this location in your root project folder,


your file may look like this:

export * from 'expo-splash-screen';

change the above code to this:

Save the file and stop the metro bundler and rerun the following command in terminal

yarn ios/android

and you are good to go.

Happy Coding 👨‍💻

Ask Question



Aakash Haider

I am a passionate React Native Developer working on various JS Technologies from past two years. I ❤️ to contribute to open source world.

Recommended from Medium