Open tranvanquang opened 4 years ago
Same issue
Try adding following additional resource in colors.xml, if not already added. It worked for me.
<color name="primary_dark">#000000</color>
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.
Same issue
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
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?
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
Running npx react-native link react-native-splash-screen
fixed it for me.
Commenting for solution notification.
I'm facing the same issue. I've tried all the suggestions above to no avail...
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