app: point the privacy link at the hosted policy, guard the release

- kPrivacyPolicyUrl now holds the public Gitea raw URL (HTTP 200, full policy,
  title "Datenschutzerklaerung - Iron Arc", contact privacy@softwareapp-hb.de).
  Gitea serves it as text/plain, so a browser shows the markup; a real page is
  still recommended and documented in docs/status/blocked.md 3b.
- verified on device: the tile triggers ACTION_VIEW for exactly this URL and
  Chrome opens it.
- release guard rewritten to extract the URL itself and fail on an empty or
  placeholder value (the previous version matched its own marker constant).
- docs: compliance row set to done, listing gained the Play privacy field,
  blocked.md documents the host upgrade plus the consequence that the repo has
  to stay public while the policy is served from it.
- release 0.8.1 (11).
This commit is contained in:
2026-10-25 03:41:14 +01:00
parent 2ed3ee0ea1
commit 9732a7e453
8 changed files with 33 additions and 17 deletions
+11 -8
View File
@@ -1,11 +1,14 @@
/// External links. Single source of truth: the settings sheet, the store
/// listing and the compliance docs all quote these strings.
///
/// The privacy policy URL must stay publicly reachable without login - Play
/// rejects listings that point at a gated page, and AdMob shows it inside the
/// consent form. `tools/build_release.sh` refuses to build while the
/// placeholder below is still in place.
const String kPrivacyPolicyUrl = 'https://example.invalid/iron-arc/privacy';
/// Placeholder marker used by the release guard.
const String kPrivacyPolicyPlaceholder = 'example.invalid';
/// NOTE: this is the raw file from the public Gitea repo. Gitea serves it as
/// `text/plain`, so a browser shows the HTML source instead of rendering it.
/// It is reachable and contains the full policy, but a real page
/// (e.g. https://softwareapp-hb.de/iron-arc/privacy) is strongly preferred for
/// the store listing. Moving it means: upload store/privacy-policy.html as
/// index.html to that path, change this one line, rebuild.
///
/// Because the policy now lives in the repository, the repository has to stay
/// public - see docs/status/blocked.md.
const String kPrivacyPolicyUrl =
'https://gitea.softwareapp-hb.de/fishfacegit/iron-arc/raw/branch/main/store/privacy-policy.html';