Skip to content

Commit

Permalink
Get EAS project id from the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Sep 11, 2024
1 parent 05ce966 commit b038f46
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ TEST_ANDROID_EMU=<Name of the Android emulator on your device>
SIGNING_CONFIG_PATH=/absolute/path/to/android-config/signing-config.gradle
KEYSTORE_PATH=/absolute/path/to/wallet.keystore
KEYSTORE_PASSWORD=<keystore password>
EAS_PROJECT_ID="project-id-from-eas"
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This README provides information on:
* [Access](#access)


## Setup
## Build the app locally

### Prerequisites

Expand Down Expand Up @@ -81,6 +81,18 @@ To
- KEYSTORE_PASSWORD with the keystore password
- In CI, decrypt the keystore back: `gpg -d --passphrase "..." --batch wallet.keystore.asc > wallet.keystore`

## Build the app on EAS

Both the Android and the iOS versions of the app can be built using the Expo Application Service (EAS). To do so, follow
the instructions from the [EAS documentation](https://docs.expo.dev/build/setup/).

Note that the project ID is not hard-coded in the `app.config.ts`, but provided as an environment variable instead.
In order to trigger an EAS build, please add the appropriate project ID in your environment, e.g.

```
EAS_PROJECT_ID="..." eas build --platform android --local --profile preview
```

## Running the application

If you are going to run the application in an emulator or simulator, you need to build the development version using
Expand Down

0 comments on commit b038f46

Please sign in to comment.