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:
+1
-1
@@ -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
|
- (app) Top-Level-`Stopwatch` startete erst beim ersten Zugriff (Dart initialisiert Top-Level-Finals lazy) - das Bootlog zeigte 0 ms
|
||||||
|
|
||||||
### Changed
|
### 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
|
### Added
|
||||||
- (app) Datenschutzerklärung im Einstellungen-Sheet (öffnet die Webseite über `url_launcher`),
|
- (app) Datenschutzerklärung im Einstellungen-Sheet (öffnet die Webseite über `url_launcher`),
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
/// External links. Single source of truth: the settings sheet, the store
|
/// External links. Single source of truth: the settings sheet, the store
|
||||||
/// listing and the compliance docs all quote these strings.
|
/// listing and the compliance docs all quote these strings.
|
||||||
///
|
///
|
||||||
/// The privacy policy URL must stay publicly reachable without login - Play
|
/// NOTE: this is the raw file from the public Gitea repo. Gitea serves it as
|
||||||
/// rejects listings that point at a gated page, and AdMob shows it inside the
|
/// `text/plain`, so a browser shows the HTML source instead of rendering it.
|
||||||
/// consent form. `tools/build_release.sh` refuses to build while the
|
/// It is reachable and contains the full policy, but a real page
|
||||||
/// placeholder below is still in place.
|
/// (e.g. https://softwareapp-hb.de/iron-arc/privacy) is strongly preferred for
|
||||||
const String kPrivacyPolicyUrl = 'https://example.invalid/iron-arc/privacy';
|
/// the store listing. Moving it means: upload store/privacy-policy.html as
|
||||||
|
/// index.html to that path, change this one line, rebuild.
|
||||||
/// Placeholder marker used by the release guard.
|
///
|
||||||
const String kPrivacyPolicyPlaceholder = 'example.invalid';
|
/// 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';
|
||||||
|
|||||||
+1
-1
@@ -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
|
# 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
|
# 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.
|
# 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:
|
environment:
|
||||||
sdk: ^3.13.4
|
sdk: ^3.13.4
|
||||||
|
|||||||
Binary file not shown.
@@ -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 |
|
| `[x]` | Enthält Werbung | **Ja** – AdMob SDK im Release-APK, App ID verifiziert |
|
||||||
| `[ ]` | Zielgruppe | **13+**, **nicht** am Families-Programm teilnehmen |
|
| `[ ]` | Zielgruppe | **13+**, **nicht** am Families-Programm teilnehmen |
|
||||||
| `[ ]` | Altersfreigabe (IARC) | Erwartung: USK 12 / PEGI 12 (kompetitive Gewalt, keine realistischen Darstellungen, keine Sprache) |
|
| `[ ]` | 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) |
|
| `[~]` | 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) |
|
| `[ ]` | Account-Löschung | In-App **und** Web-URL, da Accounts existieren (Firebase/Leaderboard) |
|
||||||
| `[ ]` | Nachrichten-App? | Nein |
|
| `[ ]` | Nachrichten-App? | Nein |
|
||||||
|
|||||||
+11
-1
@@ -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 |
|
| IARC-Fragebogen | Antworten stehen in `docs/compliance-play-store.md` §6 |
|
||||||
| Zielgruppe | 13+ (keine Kinder-Kategorie) |
|
| 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 <url> | 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
|
## 4. Echte AdMob-Unit-IDs
|
||||||
|
|
||||||
Aktuell Test-IDs (liefern immer Testanzeigen). Sobald die echten IDs da sind, trage ich sie in
|
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 |
|
| Thema | Auswirkung | Aktueller Default |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| Lizenz | `LICENSE`, OSS-Fähigkeit | proprietär (keine Datei) |
|
| 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 |
|
||||||
|
|||||||
+3
-2
@@ -64,9 +64,10 @@ from Baby Shell to Digger. Drag, aim, release - and watch the hill under your op
|
|||||||
|
|
||||||
| Asset | Status | Datei |
|
| Asset | Status | Datei |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| Icon 512×512 | ✅ Platzhalter | `store/assets/icon_512.png` |
|
| Icon 512×512 | ✅ generiert (`tools/art/artgen.py`) | `store/assets/icon_512.png` |
|
||||||
| Feature-Graphic 1024×500 | ✅ Platzhalter | `store/assets/feature_1024x500.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) |
|
| 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) | – |
|
| Promo-Video 30 s | ❌ offen (Aufnahme auf Gerät nötig) | – |
|
||||||
| Tablet-Screenshots (7", 10") | ❌ offen | – |
|
| Tablet-Screenshots (7", 10") | ❌ offen | – |
|
||||||
|
|
||||||
|
|||||||
@@ -32,12 +32,14 @@ done
|
|||||||
echo "symbols: $(stat -c%s build/native-debug-symbols.zip) bytes"
|
echo "symbols: $(stat -c%s build/native-debug-symbols.zip) bytes"
|
||||||
|
|
||||||
echo '==> Release guards'
|
echo '==> Release guards'
|
||||||
if grep -q 'example.invalid' app/lib/src/ui/links.dart; then
|
policy_url=$(grep -A1 'const String kPrivacyPolicyUrl' app/lib/src/ui/links.dart \
|
||||||
echo 'ERROR: privacy policy URL is still the placeholder (app/lib/src/ui/links.dart).' >&2
|
| 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
|
echo ' Play rejects a listing whose privacy policy is not reachable.' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "OK: privacy policy -> $(grep -oE "https://[^']+" app/lib/src/ui/links.dart)"
|
echo "OK: privacy policy -> $policy_url"
|
||||||
|
|
||||||
echo '==> Flutter bundle (AAB)'
|
echo '==> Flutter bundle (AAB)'
|
||||||
(cd app && flutter build appbundle --release)
|
(cd app && flutter build appbundle --release)
|
||||||
|
|||||||
Reference in New Issue
Block a user