react-native-splash-screen icon indicating copy to clipboard operation
react-native-splash-screen copied to clipboard

Android app crashes after splash screen is initialized version 3.2.0

Open tranvanquang opened this issue 3 years ago • 10 comments

Version App

react: 16.9.0 react-native: 0.61.5 react-native-splash-screen: 3.2.0

Once the application starts and the splash screen is shown, the application freezes and it is not working then. And the app auto close. But when I run app with iOS, It run perfect

I config following this document: https://medium.com/@appstud/add-a-splash-screen-to-a-react-native-app-810492e773f9

Can I help me fix this problem <3

tranvanquang avatar Aug 16 '20 10:08 tranvanquang

Same issue

shraddha360 avatar Sep 16 '20 13:09 shraddha360

Try adding following additional resource in colors.xml, if not already added. It worked for me.

<color name="primary_dark">#000000</color>

abhaychitnis avatar Sep 17 '20 05:09 abhaychitnis

I have two apps, with same versions of react native (0.63) and rn-splash-screen (3.2.0), I have the same code inside of two apps, one work other not work.

in one the apps initialization screen freeze and the app close.

willpower18 avatar Sep 19 '20 02:09 willpower18

Same issue

lucianobarauna avatar Sep 22 '20 15:09 lucianobarauna

react-native: 0.63.2

For me the problem was the name of the layout file, I used different file name instead of launch_screen.xml

tmenyhart avatar Sep 29 '20 14:09 tmenyhart

I'm attempting to upgrade from React Native 0.62.2 to 0.63.3 and am experiencing what looks to be same issue.

I couldn't get any of the above suggested ideas to fix this issue, any other ideas anyone has?

benjaminpearson avatar Nov 23 '20 22:11 benjaminpearson

Try adding following additional resource in colors.xml, if not already added. It worked for me.

<color name="primary_dark">#000000</color>

it helped. thanku

BiplovQss avatar Nov 26 '20 11:11 BiplovQss

Running npx react-native link react-native-splash-screen fixed it for me.

mradeybee avatar Apr 08 '21 15:04 mradeybee

Commenting for solution notification.

AliRehman7141 avatar Oct 19 '21 23:10 AliRehman7141

I'm facing the same issue. I've tried all the suggestions above to no avail...

SheddyJnr avatar Oct 27 '21 09:10 SheddyJnr