larsthorup / react-native-sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-sandbox

Setup your environment: https://reactnative.dev/docs/environment-setup

npm install
npm test

Debug in simulator or phone

Plug in phone, or else simulator will be used.

Terminal 1:

npm start

Terminal 2:

npm run android

Create signature for deploy to phone

Choose a password

cp android/keystore.sample.properties android/keystore.properties
nano android/keystore.properties # edit with your chosen password
keytool -genkeypair -v -storetype PKCS12 -keystore sandbox.keystore -alias sandbox -keyalg RSA -keysize 2048 -validity 10000 # input your chosen password
mv sandbox.keystore android/app

Deploy to phone

npm run android:release

About

License:MIT License


Languages

Language:Java 37.4%Language:JavaScript 27.4%Language:Objective-C 26.6%Language:Ruby 4.9%Language:Starlark 3.6%