ADR 0001 — Product id health.afia.app and three repos
Status: accepted
Date: 2026-09-19
Amended: 2026-09-20 — store/API id set to health.afia.app before first upload; marketing host is afia-app.health.
Context
Store IDs cannot change after first upload. Afia uses health.afia.app on Android, iOS, and the API. The public site is https://afia-app.health.
Decision
One product id everywhere:
| Surface | Id / path |
|---|---|
| Android applicationId / namespace | health.afia.app |
| iOS bundle ID | health.afia.app |
| Maven groupId / Java packages | health.afia.app |
| HTTP prefix | /api/v1/afia |
| Marketing host | afia-app.health |
Product folders and GitLab remotes:
afia-api— Spring Boot — https://gitlab.com/digital-panda/afia-api.gitafia-app— Flutter store binary — https://gitlab.com/digital-panda/afia-app.gitafia-web— landing + store-required pages — https://gitlab.com/digital-panda/afia-web.gitafia-docs— Docusaurus docs — https://gitlab.com/digital-panda/afia-docs.git
Consequences
- Reverse-DNS of
afia-app.healthis not a valid Java/Android id (hyphen).health.afia.appis the reserved store/API id. - HTTP prefix stays
/api/v1/afia; it is not the store package. - Store ids cannot change after first upload. This amendment is pre-submit.
- Legal and store URLs live on
https://afia-app.health(/privacy.html,/terms.html,/support.html,/delete-account.html).