0

i'm having problems using react native splash screen. I follow the steps on the github repo but the problem stills.

My problem occurs after installing and configuring React Native Splash Screen in my application. I followed all the steps correctly, and when I launch the app, the image I chose is displayed. However, when navigating between screens, if the screen contains an Input tag (I use the NativeBase library, but I also tried with the React component and encountered the same error), the app crashes and displays the following error message:

error

build.gradle file:

build gradle

settings.gradle file:

settings gradle

MainActivity.java file:

enter image description here

launch_screen.xml file:

launch screen

I repeat, the launch screen looks fine, the problem arises when I try to use input tags.

Any ideas ?? Or suggestions ??

tosa
  • 9
  • 1

1 Answers1

0

i think you're missing this file:

enter image description here

and you should have this splashActivity inside you manifest

enter image description here

Rodrigo Dias
  • 114
  • 1
  • 9
  • I tried that, but it doesn't work. The problem is still there. However, the react-native-splash-screen docs don't mention anything about SplashActivity and the manifest file. – tosa Aug 04 '23 at 14:00
  • can you please share a repo on github to take a look on it? – Rodrigo Dias Aug 07 '23 at 06:32