react-native-splash-screen: Crash on android, react-native 0.71.3 and react-native-splash-screen 3.3.0

Hi, I have a problem with android my application bug. I’m running react-native 0.71.3 with react-native-splash-screen 3.3.0. When I hide this part my application works but when I activate it, it crashes. @Override protected void onCreate(Bundle savedInstanceState) { SplashScreen.show(this); super.onCreate(savedInstanceState); }

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15

Most upvoted comments

@lvothnrv I’ve launched rn 0.71.3 with react-native-splash-screen 3.3.0 and all works correctly

This is the my test repo – https://github.com/Buksirchik/SplashScreen This is the commit, where I added splash screen – Buksirchik/SplashScreen@41219ad All works fine, there isn’t a crash on android

You’re going to insult me ​​my brother but in fact I’m going to make a mistake on the launch_screen.xml file I had written lauch_screen.xml and I checked your repository with my code and I saw that afterwards thank you aha