Skip to content

Instantly share code, notes, and snippets.

@parth-koshta
Created January 8, 2022 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parth-koshta/321ca4404131dabfef4c19c348224ed3 to your computer and use it in GitHub Desktop.
Save parth-koshta/321ca4404131dabfef4c19c348224ed3 to your computer and use it in GitHub Desktop.
Medium article - splash screen
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rn_base">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/BootTheme"> // update android:theme
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true"> // add this
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment