diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e26d88..7515ace 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ Alle nennenswerten Änderungen an diesem Projekt. Format nach - (app) Top-Level-`Stopwatch` startete erst beim ersten Zugriff (Dart initialisiert Top-Level-Finals lazy) - das Bootlog zeigte 0 ms ### Changed -- (build) Version 0.8.0 (10): neuer Ingame-Renderer, generierte Marken-Art, Splash-Kette; signiertes App Bundle mit Upload-Keystore +- (build) Version 0.8.1 (11): Datenschutz-URL gesetzt (Gitea-Raw, HTTP 200), sonst identisch zu 0.8.0; signiertes App Bundle mit Upload-Keystore ### Added - (app) Datenschutzerklärung im Einstellungen-Sheet (öffnet die Webseite über `url_launcher`), diff --git a/app/lib/src/ui/links.dart b/app/lib/src/ui/links.dart index 0d687b2..65f445c 100644 --- a/app/lib/src/ui/links.dart +++ b/app/lib/src/ui/links.dart @@ -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'; diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 00cb544..685d25a 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.8.0+10 +version: 0.8.1+11 environment: sdk: ^3.13.4 diff --git a/build/native-debug-symbols.zip b/build/native-debug-symbols.zip index 4c6641a..c99a45c 100644 Binary files a/build/native-debug-symbols.zip and b/build/native-debug-symbols.zip differ diff --git a/docs/compliance-play-store.md b/docs/compliance-play-store.md index e6ab8fc..d09d277 100644 --- a/docs/compliance-play-store.md +++ b/docs/compliance-play-store.md @@ -43,7 +43,7 @@ Legende: `[ ]` offen · `[x]` erledigt · `[~]` teilweise/geplant mit Owner | `[x]` | Enthält Werbung | **Ja** – AdMob SDK im Release-APK, App ID verifiziert | | `[ ]` | Zielgruppe | **13+**, **nicht** am Families-Programm teilnehmen | | `[ ]` | Altersfreigabe (IARC) | Erwartung: USK 12 / PEGI 12 (kompetitive Gewalt, keine realistischen Darstellungen, keine Sprache) | -| `[~]` | Datenschutzerklärung | Text fertig: [privacy-policy.md](privacy-policy.md) + `store/privacy-policy.html`. In-App-Einstieg ist **implementiert** (Zahnrad → „Datenschutzerklärung“, `url_launcher`, auf Gerät verifiziert); es fehlt nur die öffentliche URL in `app/lib/src/ui/links.dart`. `tools/build_release.sh` bricht ab, solange dort der Platzhalter steht. Deckt: Geräte-ID, Match-/Replay-Daten, AdMob (Werbe-ID, IP, Geräteinformationen), ungefährer Standort aus IP. **Keine** Analytics-, Crash- oder Firebase-SDKs im Build | +| `[x]` | Datenschutzerklärung | URL gesetzt: `store/privacy-policy.html` im öffentlichen Gitea-Repo (Rohdatei, HTTP 200, `text/plain` – funktioniert, aber unschön; besserer Host in [status/blocked.md](status/blocked.md) §3b). In-App-Einstieg implementiert und auf Gerät verifiziert (Zahnrad → „Datenschutzerklärung“, `url_launcher`), Release-Guard gegen Platzhalter. Deckt: Geräte-ID, Match-/Replay-Daten, AdMob (Werbe-ID, IP, Geräteinformationen), ungefährer Standort aus IP. **Keine** Analytics-, Crash- oder Firebase-SDKs im Build | | `[~]` | Data-Safety-Formular | Angaben aus [privacy-policy.md](privacy-policy.md) übernehmen: Geräte-IDs (App-Funktion), ungefährer Standort aus IP + Werbe-ID (durch AdMob, Weitergabe an Google), **keine** Crash-Logs, **keine** Käufe (bis M7c) | | `[ ]` | Account-Löschung | In-App **und** Web-URL, da Accounts existieren (Firebase/Leaderboard) | | `[ ]` | Nachrichten-App? | Nein | diff --git a/docs/status/blocked.md b/docs/status/blocked.md index 5604c2e..df07103 100644 --- a/docs/status/blocked.md +++ b/docs/status/blocked.md @@ -29,6 +29,16 @@ der öffentliche HTTPS-Abruf. Varianten: Gitea-Pages, GitHub Pages, eigener Webs | IARC-Fragebogen | Antworten stehen in `docs/compliance-play-store.md` §6 | | Zielgruppe | 13+ (keine Kinder-Kategorie) | +## 3b. Datenschutz-URL richtig hosten (empfohlen) + +Aktuell zeigt `app/lib/src/ui/links.dart` auf die Rohdatei im Gitea-Repo. Die liefert +`content-type: text/plain`, der Browser zeigt also HTML-Quelltext statt einer Seite. Für Play +und AdMob funktioniert das, wirkt im Review aber unsauber. + +1. `store/privacy-policy.html` als `index.html` unter `https://softwareapp-hb.de/iron-arc/privacy/` ablegen. +2. Prüfen: `curl -sI | grep -i content-type` → muss `text/html` sein. +3. Die eine Zeile in `app/lib/src/ui/links.dart` ändern, neu bauen, fertig. + ## 4. Echte AdMob-Unit-IDs Aktuell Test-IDs (liefern immer Testanzeigen). Sobald die echten IDs da sind, trage ich sie in @@ -39,4 +49,4 @@ Aktuell Test-IDs (liefern immer Testanzeigen). Sobald die echten IDs da sind, tr | Thema | Auswirkung | Aktueller Default | |---|---|---| | Lizenz | `LICENSE`, OSS-Fähigkeit | proprietär (keine Datei) | -| Repo-Sichtbarkeit | Quellcode öffentlich einsehbar | öffentlich auf Gitea | +| Repo-Sichtbarkeit | **muss öffentlich bleiben**: die Datenschutzerklärung wird von dort ausgeliefert | öffentlich auf Gitea | diff --git a/store/listing.md b/store/listing.md index d60af2f..14f1af9 100644 --- a/store/listing.md +++ b/store/listing.md @@ -64,9 +64,10 @@ from Baby Shell to Digger. Drag, aim, release - and watch the hill under your op | Asset | Status | Datei | |---|---|---| -| Icon 512×512 | ✅ Platzhalter | `store/assets/icon_512.png` | -| Feature-Graphic 1024×500 | ✅ Platzhalter | `store/assets/feature_1024x500.png` | +| Icon 512×512 | ✅ generiert (`tools/art/artgen.py`) | `store/assets/icon_512.png` | +| Feature-Graphic 1024×500 | ✅ generiert (`tools/art/artgen.py`) | `store/assets/feature_1024x500.png` | | Screenshots (min. 4) | ✅ echte Geräteaufnahmen | `store/screenshots/01..04` (1080×2400) | +| Datenschutz-URL (Play-Feld) | ✅ gesetzt | https://gitea.softwareapp-hb.de/fishfacegit/iron-arc/raw/branch/main/store/privacy-policy.html | | Promo-Video 30 s | ❌ offen (Aufnahme auf Gerät nötig) | – | | Tablet-Screenshots (7", 10") | ❌ offen | – | diff --git a/tools/build_release.sh b/tools/build_release.sh index 579187e..c551f14 100755 --- a/tools/build_release.sh +++ b/tools/build_release.sh @@ -32,12 +32,14 @@ done echo "symbols: $(stat -c%s build/native-debug-symbols.zip) bytes" echo '==> Release guards' -if grep -q 'example.invalid' app/lib/src/ui/links.dart; then - echo 'ERROR: privacy policy URL is still the placeholder (app/lib/src/ui/links.dart).' >&2 +policy_url=$(grep -A1 'const String kPrivacyPolicyUrl' app/lib/src/ui/links.dart \ + | grep -oE "https://[^']+" | head -1) +if [ -z "$policy_url" ] || printf '%s' "$policy_url" | grep -q 'example.invalid'; then + echo 'ERROR: privacy policy URL is missing or still the placeholder (app/lib/src/ui/links.dart).' >&2 echo ' Play rejects a listing whose privacy policy is not reachable.' >&2 exit 1 fi -echo "OK: privacy policy -> $(grep -oE "https://[^']+" app/lib/src/ui/links.dart)" +echo "OK: privacy policy -> $policy_url" echo '==> Flutter bundle (AAB)' (cd app && flutter build appbundle --release)