Mobile App for https://codegalaxy.io/
Please, make sure you have Node.js
version 16.x installed locally.
Then, please make sure you have expo-cli
installed globally:
npm i expo-cli@6 -g
Then you can run following commands to init the project:
cd app
npm i
NOTE: when upgrading/re-installing the project perform these commands first:
sbt clean
cd app
rm -rf node_modules
rm package-lock.json
For android emulator, please, follow these instructions:
First, build the application with the following command:
sbt "project codegalaxy-app" fastOptJS
Then you can run it in emulator:
cd app
npm i
npx expo start --ios
#or:
npx expo start --android
First, build app with reload in sbt
sbt
sbt> project codegalaxy-app
codegalaxy-app> ~fastOptJS
Then, refresh app in Expo client:
- Cmd+R in emulator (if FastRefresh is disabled)
- or shake real device and press Reload in then menu