handsomm / UnityTalk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Start the Metro Server

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of your React Native project:

# using npm
npm start

# OR using Yarn
yarn start

Step 2: Start your Application

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using npm
npm run android

# OR using Yarn
yarn android

Generate the SHA1 for register the device in Firebase

Run the below command in project root directory.

cd android && ./gradlew :app:signingReport

To link the assets with android and iOS

npx react-native-asset

Generating an upload key for PlayStore

Navigate to the folder :

For Windows: C:\Program Files\Java\jdkx.x.x_x\bin

keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000

For Mac: /Library/Java/JavaVirtualMachines/jdkX.X.X_XXX.jdk/Contents/Home

sudo keytool -genkey -v -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000

For changing the release version of the app

npm i -g react-native-version

For changing the version :

react-native-version --never-amend

About


Languages

Language:TypeScript 74.0%Language:Kotlin 9.2%Language:Java 6.3%Language:Objective-C 4.4%Language:Ruby 2.8%Language:JavaScript 1.8%Language:Objective-C++ 1.5%