Install The React Native Cli using NPM
npm install -g react-native-cli
Installs the react native cli globally, used to run the mobile environment and dev tools using npm
Install The React Native Cli using Yarn
yarn add -g react-native-cli
Installs the react native cli globally, used to run the mobile environment and dev tools using yarn
Create React Native App
Using React Native CLI, create a new react native project
Run Default Ios Emulator
Runs The emulator on MacOS for Mac, "must have emulator installed via X-code"
Run Default Android Emulator
Runs The emulator on Android Studio For Windows, "Must have Android Studio Installed and a mobile downloaded"
Clean Android Project
cd android &&./gradlew clean && cd ../
From The Root Of Your project run this commands to remove build files and clean the android project
Clean IOS Project
cd ios && xcodebuild clean && cd ../
From The Root Of Your project run this commands to remove build files and clean the IOS project
Run A Android Release Version Of Your App
npx react-native run-android --variant=release
From The Root Of Your project run this commands to remove build files and clean the IOS project
Run A Android APK Release Version Of Your App
cd android && ./gradlew assembleRelease && cd ../
From The Root Of Your project run this commands to create build APK Files. found in android/app/build/outputs/apk
Run A Android ABB Release Version Of Your App
cd android && ./gradlew bundleRelease && cd ../
From The Root Of Your project run this commands to create build ABB Files. found in android/app/build/outputs/bundle/release/app-release.aab
Get Android Signing Report - Contains SHA Keys
Log To The Console Android Apps Signing Report - Contains A Bunch Of SHA Keys, validity
Run App
Starts the Native App