Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .circleci/src/jobs/@mobile-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ mobile-init:
name: copy staging env
command: |
cd packages/mobile
cp .env.stage.tmpl .env.stage
echo "FCM_SENDER_ID=$FCM_SENDER_ID" >> .env.stage
echo "AMPLITUDE_WRITE_KEY=$AMPLITUDE_WRITE_KEY_STAGE" >> .env.stage
- run:
name: copy production env
command: |
cd packages/mobile
cp .env.prod.tmpl .env.prod
echo "FCM_SENDER_ID=$FCM_SENDER_ID" >> .env.prod
echo "AMPLITUDE_WRITE_KEY=$AMPLITUDE_WRITE_KEY_PROD" >> .env.prod

Expand Down
6 changes: 3 additions & 3 deletions packages/mobile/.env.dev.tmpl → packages/mobile/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ REGISTRY_ADDRESS=0x793373aBF96583d5eb71a15d86fFE732CD04D452
ENTITY_MANAGER_ADDRESS=0x2F99338637F027CFB7494E46B49987457beCC6E3
WEB3_PROVIDER_URL=https://poa-gateway.staging.audius.co,https://sokol.poa.network
WEB3_NETWORK_ID=77
ETH_REGISTRY_ADDRESS=0xe39b1cA04fc06c416c4eaBd188Cb1330b8FED781
ETH_REGISTRY_ADDRESS=0xF27A9c44d7d5DDdA29bC1eeaD94718EeAC1775e3
ETH_PROVIDER_URL=https://eth.staging.audius.co
ETH_NETWORK_ID=3
ETH_TOKEN_ADDRESS=0x74f24429ec3708fc21381e017194A5711E93B751
ETH_NETWORK_ID=5
ETH_TOKEN_ADDRESS=0x5375BE4c52fA29b26077B0F15ee5254D779676A6
ETH_OWNER_WALLET=0xcccc7428648c4AdC0ae262D3547584dDAE25c465
WORMHOLE_ADDRESS=0xf6f45e4d836da1d4ecd43bb1074620bfb0b7e0d7
CLAIM_DISTRIBUTION_CONTRACT_ADDRESS=0x74b89B916c97d50557E8F944F32662fE52Ce378d
Expand Down
4 changes: 0 additions & 4 deletions packages/mobile/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
.DS_Store

# Env
.env
.env.prod
.env.stage
.env.dev
.eslintcache
.yalc
yalc.lock
Expand Down
8 changes: 0 additions & 8 deletions packages/mobile/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ The native project can be built & run against a local client (serving at localho

## Setup

Copy the environment variables and replace missing values. (You will need an FCM sender id as well as a Segment write key for those services to work properly, but any value will suffice if the data is not important to you.)

```bash
cp .env.dev.tmpl .env.dev
cp .env.stage.tmpl .env.stage
cp .env.prod.tmpl .env.prod
```

### Extra iOS Setup

```bash
Expand Down