Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android app crashes after splash screen is initialized version 3.2.0 #495

Open
tranvanquang opened this issue Aug 16, 2020 · 10 comments
Open

Comments

@tranvanquang
Copy link

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

@shraddha360
Copy link

Same issue

@abhaychitnis
Copy link

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

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

@willpower18
Copy link

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.

@lucianobarauna
Copy link

Same issue

@tmenyhart
Copy link

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

@benjaminpearson
Copy link

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?

@BiplovQss
Copy link

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

@mradeybee
Copy link

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

@AliRehman7141
Copy link

Commenting for solution notification.

@SheddyJnr
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests