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>
Source: stackoverflow.com
Related Query
- React Native SDK runtime permission error
- error "Converting circular structure to JSON -> starting at object with constructor 'FiberNode'" in react native
- Error Running React Native App From Terminal (iOS)
- React Native Error - yarn' is not recognized as an internal or external command
- PhaseScriptExecution [CP-User] error in React Native
- React Native Error Cannot find module 'metro-config/src/defaults/blacklist'
- React Native on Ipad - Error - could not connect to development server
- React Native + Jest EMFILE: too many open files error
- React Native 0.31: Could not get BatchedBridge Error
- Error : Cannot read property fetch. Using jest-expo with react native
- React native (expo) web view Error net::ERR_CACHE_MISS
- Firebase initial error with React Native (Cannot read property 'getItem' of undefined)
- I have Some Error when add Button to my React Native App?
- Amplify React Native - Duplicate Error using amplify add api
- React Native Ios Error - ENOENT: no such file or directory, uv_cwd (null))
- React Native Android error in com.facebook.react.bridge.NoSuchKeyException
- Error on archiving react native app in Xcode - Multiple commands produce 'libyoga.a'
- React Native App crashes on android 11 on launch without giving error
- React Native Test Error - Unable to find node on an unmounted component
- React Native start failed with error code -4094 how to solve this ONCE for ALL?
- React Native Debugger Error - Cannot GET /debugger-ui/
- How to fix React Native error "jest-haste-map: Haste module naming collision"?
- react native sudden Unable to resolve module `fs` error
- React Native `npm start` with watchman error
- No location provider available, permission denied in react native
- React Native Error: 'Permission Denial: starting Intent"
- React Native WebView Loading Error Handling
- React native jest.preset.js file missing error
- React native + Mobx, @inject decorator throws an error
- Error when using Maps in react native
More Query from same tag
- React does not recognize the `initialValue` prop on a DOM element
- Call/Run Animation Every Time user Navigates to new Page
- Is mapDispatchToProps the way to go?
- Logout when token expired only when page is refreshed? Why?
- × TypeError: Object(...) is not a function, while creating store using redux and firebase
- Change the default number of rows in griddle
- My routing React.js is not run
- Meteor + Semantic React
- Pass from parent to child onChange function which does not work
- React: Updating state of adjacent sibling elements
- Error Element type is invalid: forgot to export your component from the file it's defined in, or you might have mixed up default and named imports
- Admin-on-rest - Place pagination at top
- Can't accees to redux store (basic redux example)
- React js Cannot destructure property as it is undefined
- Allow arbitrary data-* attributes on React component with Typescript
- I want to improve the error message on the information registration screen
- Bind text input value on change event - React Native + Redux
- How to make changes in the react webpage in github pages?
- React Native FlatList not rendering when data updates (Redux)
- prevent highlighting of Today in react-date-picker
- how to consume multiple context in reactjs
- Change image on hover in JSX
- render array of nested components in react
- Style property causing 'Each child in a list should have a unique "key" prop.'
- Access to XMLHttpRequest blocked by CORS Policy in ReactJS using Axios
- How to convert data from type {} to type array [] in react js?
- How do I pass a variable/literal for a value in styled components?
- How to change each word color in react content
- What is happening such I receive dangerouslySetInnerHTML warning and empty content using Next.js?
- How to show different list of items when clicking on a category button? React/javascript