(Tested only in iPhone)
- (one time) npm install -g exp
yarn install
yarn start
- From your phone, open Expo Client & scan the barcode shown in terminal
- Install Yarn, then run
yarn install
- Install Expo to your Mac
- Install Expo Client to your phone
- (optional) Install react-native-debugger
brew update && brew cask install react-native-debugger
- From your Mac: open Expo, open your project
- (optional) From your Mac:
yarn run debug
, and wait for react native debugger to connect - From your phone: open Expo Client & scan the "Share" barcode (from Expo Mac)
- (troubleshoot): if debugger is not connecting, check if
Debug JS Remotely
is enabled on phone. Shake the device to view debug menu
- Complete the steps in "How to run" section first
- In
/config.js
change theLOAD_STORY_BOOK
boolean variable totrue
. yarn run storybook
- From your Mac: Go to
localhost:7007
from your browser - From your phone: Run the app (on Expo Client)