Add a volunteer demo user, document demo users

This commit is contained in:
ponas committed 2026-09-05 23:12:58 +02:00
1 parent 0afb278eef
commit f0d7952356
3 files changed
+34

No files matched your search

+15
View File
@@ -38,6 +38,21 @@ server and open the app on your device or simulator:
npm run start
### Demo users
Dev builds accept three fake users (defined in `src/api.ts`) so you can preview the
membership screens without a real account. They are valid with any password:
| Username | State |
| ----------- | ------------------------------------------------------- |
| `nonmember` | Not a member, no membership history |
| `member` | Valid standard membership, expires 2099-08-01 |
| `volunteer` | Same membership as `member`, but flagged as a volunteer |
They only work via `npm run start`/`android`/`ios`, not in EAS `preview` or
`production` builds. Only login and fetching user data are faked, so
buying a membership or deleting the account will fail against the real API.
### Android
`mise install` provides the Android SDK (the `android` CLI