Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

React Native – How to disable default android Splash Screen

I create a React Native app and for this app, I create my custom Splash Screen using npm i react-native-splash-screen.

But on app run, It 1st show the default android splash screen and then it show the splash screen, I create.

So, I want to disable the default android splash screen.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Add this command in your style.xml file before closing the style tag.

<item name="android:windowIsTranslucent">true</item>

Path to style.xml file:
[YourProjectName]\android\app\src\main\res\values\styles.xml

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading