- Project is setup with Expo toolset which needs to be installed globally:
npm install expo-cli --global
- Install local project dependencies:
yarn --ignore-platform
- iOS:
yarn ios
- Android:
yarn android
(* Requires local available emulator or connected device in development mode)
The main folders are src/api
, src/screens
, src/hooks
, src/stores
, src/style
, src/common
src/api
: holde the api setup, api requests and formatters for requests and responses going thro the apisrc/screens
: holds the different screens grouped into: onboarding, user, merchant, auth, transaction. the main motivation here is to keep this as clean as possible, ie only contains the views - any logic the screens are using should be located in src/hooks or src/common.src/hooks
: holds functions that use react hooks like useEffectsrc/stores
: holds stores initializations and thier initial state, using react-hooksstoresrc/style
: holds the theme definition, global style vars, global styled componentssrc/common
: holds shared components, time utils, crypto utils...
This guide will help you upload your Expo standalone apps to Apple TestFlight and to Google Play.
- upgrade build version and code number in
app.json
expo build:android
on project root directory- choose the build type as
apk