npm install --global expo-cli yarn
cd MSaaS-Client
yarn
yarn start
# You can also optimize blobs after adding new assets
npx expo-optimize
Use Expo Go
app on your phone or web browser for development
openapi-generator generate -i https://msaas.app.ncj.wiki/api/swagger/v1/swagger.json -g typescript-fetch
cd ios
pod install
Then open the XCode workspace, and build a release app. The script will create a js bundle automatically.
It seems AS will not build the js bundle automatically, so you have to build it yourself.
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
cd android
./gradlew assembleRelease
Sign the app if you want.
Below are docs and references that might be useful