diff options
author | dan <dan.abramov@gmail.com> | 2023-09-26 19:46:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 11:46:46 -0700 |
commit | 95736a51682a951a900d53fa7df10a6a8bb93ae3 (patch) | |
tree | edc7b86a9e53de0de6cbf9ff1d7a810dc4bca4fa /docs | |
parent | b0873cae97b100ba36c7c4b876665d7904c49291 (diff) | |
download | voidsky-95736a51682a951a900d53fa7df10a6a8bb93ae3.tar.zst |
Add instructions for running on device (#1541)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/build.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/build.md b/docs/build.md index ea49df3f8..ac167a362 100644 --- a/docs/build.md +++ b/docs/build.md @@ -27,6 +27,7 @@ - Each test run: `yarn e2e:run` - Tips - Make sure to copy the `.env.example` to `.env` and fill in any necessary tokens. (The Sentry token is NOT required; see instructions below if you want to enable Sentry.) + - To run on device, add `--device` to the command (e.g. `yarn android --device`). To build in production mode (slower build, faster app), also add `--variant release`. - If you want to use Expo EAS on your own builds without ejecting from Expo, make sure to change the `owner` as well as `extra.eas.projectId` properties. If you do not have an Expo account, you may remove these properties. - `npx react-native info` Checks what has been installed. - If the android simulator frequently hangs or is very sluggish, [bump its memory limit](https://stackoverflow.com/a/40068396) |