expo-cli
@aws-amplify/cli
yarn
expo register
in the repo root to create an account
yarn
in the repo rootamplify init
in the repo root: this will walk you through the setup for your credentials. Our AWS region is us-west-2
, and make sure to elect to use an existing environment (staging
for all uses; only use production
for packages that will be submitted to an app store for users, and never test on this environment). The CLI will ask you to authenticate, do so via a new profile, and "use an existing user". Contact jquach@munchkinlabs.us for your AWS CLI credentials.expo start
in the repo rootbefore every new task or build, you want to run the following commands at the beginning to ensure your local enviroment is in sync with the cloud enviroment.
After pulling or merging new changes, you'll want to re-run expo install
to capture dependency changes. Then, check
for backend changes by running amplify status
, and amplify pull
to synchronize any new changes.
When installing a new package, it's important to always use expo install
instead of the equivalent yarn command. Until we switch to an Expo bare build, this command will ensure we use a version of each package made available to us in the Expo client.
expo ...
commands
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
check that you are in the amplify production environment and all backend resourses are up to date.
amplify status
production
expo build:ios -t archive
expo push:android:show
expo push:android:upload --api-key <your-token-here>
, replacing <your-token-here>
with the keyexpo build:android -t app-bundle
This app is structured using the atomic design philosophy, if you are unfamiliar with that you can read more about it here