Skip to content

Commit 9aae327

Browse files
authored
Update README.md
1 parent 78ffb7b commit 9aae327

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

README.md

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,30 @@ Feature-first layout under `src/features`, shared code in `src/shared`.
6363
- **Repository layout**[docs/development.md#repository-layout](docs/development.md#repository-layout)
6464
- **Code rules & ownership**[AGENTS.md](AGENTS.md)
6565

66-
---
67-
68-
## 🔐 Environment Variables
69-
70-
Read at build time via `react-native-config`. See [`.env.example`](.env.example) for defaults. Rebuild the app after any change.
71-
72-
| Variable | Required | Purpose |
73-
|---|---|---|
74-
| `API_URL` | For real API | Backend base URL |
75-
| `USE_MOCK_API` | No | `true` uses mock transport; login pre-fills demo credentials |
76-
| `WS_URL` | No | WebSocket base URL |
77-
| `ENV` | No | `development` / `staging` / `production` |
78-
| `SENTRY_DSN` | No | Enables Sentry error tracking |
79-
| `SENTRY_ENABLE_IN_DEV` | No | `1` sends Sentry events from `__DEV__` |
80-
| `SENTRY_TRACES_SAMPLE_RATE` | No | Performance sampling (`0``1`) |
81-
| `CODEPUSH_KEY_IOS` / `CODEPUSH_KEY_ANDROID` | No | Reserved for OTA (no CodePush SDK ships by default) |
82-
83-
Related: [Sentry setup](docs/OPERATIONS.md#sentry) · [OTA policy](docs/OPERATIONS.md#over-the-air-updates)
84-
85-
---
66+
----------
67+
68+
## 🔐 Environment variables
69+
Values are read at build time via react-native-config.
70+
See .env.example. Rebuild the app after changing .env.
71+
72+
| Variable | Required | Purpose |
73+
| ------------------------------------------- | ------------ | ----------------------------------------------------- |
74+
| `API_URL` | For real API | Backend base URL |
75+
| `USE_MOCK_API` | No | `true` / `1` uses the mock transport in dev |
76+
| `WS_URL` | No | WebSocket base URL |
77+
| `ENV` | No | Runtime label: `development`, `staging`, `production` |
78+
| `SENTRY_DSN` | No | Enables Sentry when non-empty |
79+
| `SENTRY_ENABLE_IN_DEV` | No | `1` sends Sentry events from `__DEV__` |
80+
| `SENTRY_TRACES_SAMPLE_RATE` | No | Performance sampling value from `0` to `1` |
81+
| `CODEPUSH_KEY_IOS` / `CODEPUSH_KEY_ANDROID` | No | Reserved for OTA; no CodePush SDK ships by default |
82+
83+
Useful docs:
84+
85+
Sentry setup
86+
OTA / updates policy
87+
Publishing / discoverability
88+
89+
----------
8690

8791
## ⌨️ Key Commands
8892

0 commit comments

Comments
 (0)