Android: portless fixture URLs after D-124
D-124 serves Kvitt at https://<host> on 443. The README, the AppBuildInfo and AboutRepositoryImpl comments, the S-21/S-22 fake scenarios and the :data test fixtures drop the :8443 port. S-21's invite-created goldens and every S-22 golden re-recorded (link and server row now portless). The release-URL normaliser test checks a portless URL and keeps one explicit-port case (a typed port survives), on example.org instead of the owner's old host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ compile, unit tests (including every vector of `contracts/test-vectors/`), lint
|
||||
|
||||
**Public host (D-121).** The release server's host name is the build property `kvitt.publicHost`, never a literal in
|
||||
the code: `:app` exposes it as `BuildConfig.PUBLIC_HOST`, as the manifest placeholder `publicHost` (the host of the
|
||||
`https://<host>:8443/i/<CODE>` invite links, AC-2.6) and as `RELEASE_SERVER_URL` = `https://<host>:8443`, which S-1
|
||||
`https://<host>/i/<CODE>` invite links, AC-2.6) and as `RELEASE_SERVER_URL` = `https://<host>`, which S-1
|
||||
prefills (AC-2.7). Gradle takes `-Pkvitt.publicHost=…` first (`infra/publish-apk.sh` passes it), else the key
|
||||
`kvitt.publicHost` in `android/local.properties`, where the owner sets it (git-ignored, never committed), else the
|
||||
placeholder `kvitt.example.invalid`, so a release built without it cannot talk to a real host. Debug builds pair with
|
||||
|
||||
Reference in New Issue
Block a user