score:0

npx react-native run-android --main-activity splashactivity

score:11

in the manifest, just copy <action android:name="android.intent.action.main" /> for the <intent-filter> in the splash activity tag:

<activity
  android:name=".splashactivity"
  android:label="@string/app_name"
  android:configchanges="keyboard|keyboardhidden|orientation|screensize"
  android:windowsoftinputmode="adjustresize"
  android:theme="@style/splashtheme">
  <intent-filter>
    <action android:name="android.intent.action.main" />
     <category android:name="android.intent.category.launcher" />
  </intent-filter>
</activity>

and paste inside of <activity android:name=".mainactivity" /> tag like this:

<activity android:name=".mainactivity">
  <intent-filter>
    <action android:name="android.intent.action.main" />
  </intent-filter>
</activity>

Related Query

More Query from same tag