1//make sure node is installed
2>npm i -g expo-cli
3>expo init ProjectName
4>cd ProjectName
5>code .
6>expo start
7
8//snippets for react native @ Vcode
9#React Native Tools
10#React-native/React/Redux
11#Prettier code-formattter
12#material icon theme
13
14//IOS Simulator
15Xocde -> Development Tool -> Simulator
16
17//for mac users got to https://docs.expo.io/workflow/android-studio-emulator/
18>code ~/.bash_profile
19>code ~/.zshrc
20and add to both file the following:
21export ANDROID_SDK=/Users/junglesoft/Library/Android/sdk
22export PATH=/Users/junglesoft/Library/Android/sdk/platform-tools:$PATH
23//make sure to have your own directory above
24//HINT: you can find your directory at Android studio/config/SDK manager
25
26//Android Emulator
27Open Android Studio -> config -> AVD manager -> Create virtual device...
28//open the emiulator device then got to Metro Bundler and
29//press on 'Run on android simulator' (or Press a in the Terminal'
30
31
1//get started with react native app for android on macOS
2brew install node
3brew install watchman
4brew cask install adoptopenjdk/openjdk/adoptopenjdk8
5//add the following to ~/.bash_profile & ~/.zshrc
6export ANDROID_HOME=$HOME/Users/junglesoft/Library/Android/sdk
7export PATH=$PATH:$ANDROID_HOME/emulator
8export PATH=$PATH:$ANDROID_HOME/tools
9export PATH=$PATH:$ANDROID_HOME/tools/bin
10export PATH=$PATH:$ANDROID_HOME/platform-tools
11//add the following to local.properties file at android/app level
12sdk.dir=/Users/junglesoft/Library/Android/sdk
13//launch app
14npx react-native init ProjectName
15//run on virtual android
16npx react-native run-android
17
18##GO TO: https://aboutreact.com/react-native-vector-icons/##