a26e0b93b5
- billing module with a testable seam: models (product ids, purchase events), StoreClient + PlayStoreClient over in_app_purchase, Entitlements persisted in SharedPreferences, BillingService orchestrating query/buy/restore/grant. - rules encoded: grant before completePurchase (Play refunds unacknowledged purchases after three days), pending purchases are shown but never granted, restorePurchases on start so a reinstall keeps the purchase, and Remove Ads only hides interstitials - rewarded video stays available. - ads gate: AdsService.adsRemoved stops both the counter and the preload, so an owner never requests an interstitial. - settings sheet: shop section (price from the store, never hardcoded), "restore purchases", and "delete local data" with confirmation; the existing mail-based deletion request stays the account-deletion path since the app has no accounts. - 9 new tests with a fake store cover purchase, restore, pending, cancel, error, restart persistence, missing store and a store that throws. 17 total. - verified on device: the app talks to the real Play Billing service (IInAppBillingService in logcat) and degrades to "no products created" without a crash; com.android.vending.BILLING is in the merged manifest. - docs: monetization 7c (rules + verification), decision D6 (local entitlement until purchases affect the server), compliance rows for billing/restore/ deletion, blocked.md 3c (create remove_ads in the Console). - release 0.9.0 (13).
71 lines
3.4 KiB
Markdown
71 lines
3.4 KiB
Markdown
# Blockiert — was ich ohne dich nicht erledigen kann
|
|
|
|
Stand: 2026-10-25. Alles andere ist erledigt und auf dem Gerät verifiziert.
|
|
|
|
## 1. Keystore-Backup (kritisch, 10 Minuten)
|
|
|
|
`~/keystore/ironarc-upload.jks` existiert nur auf dieser Maschine. Geht sie verloren, sind keine
|
|
Updates der veröffentlichten App mehr möglich — die App muss dann neu eingereicht werden.
|
|
|
|
1. `ironarc-upload.jks` + `ironarc-upload.pw` auf **zwei** Offline-Medien kopieren (USB-Stick, DVD,
|
|
Papier).
|
|
2. Passwort zusätzlich in einen Passwortmanager.
|
|
3. Einmal testweise aus dem Backup entschlüsseln (`keytool -list -keystore ...`).
|
|
|
|
## 2. Privacy-Policy-URL (Pflicht für Play + AdMob)
|
|
|
|
Die Datei liegt fertig unter `store/privacy-policy.html` (+ `docs/privacy-policy*.md`), es fehlt nur
|
|
der öffentliche HTTPS-Abruf. Varianten: Gitea-Pages, GitHub Pages, eigener Webspace
|
|
(`https://softwareapp-hb.de/iron-arc/privacy`). Die URL trage ich danach in
|
|
`app/lib/src/ui/widgets.dart`, Store-Listing und Play Console ein.
|
|
|
|
## 3. Play Console (Upload + Tracks)
|
|
|
|
| Schritt | Was ich brauche |
|
|
|---|---|
|
|
| App anlegen | `de.softwareapp_hb.ironarc`, Name „Iron Arc“, Kategorie *Games/Strategy* |
|
|
| Internal Testing | Upload von `~/exports/iron-arc-0.7.0.aab` |
|
|
| Data Safety | Vorlage in `docs/compliance-play-store.md` §5 — nur noch eintragen |
|
|
| IARC-Fragebogen | Antworten stehen in `docs/compliance-play-store.md` §6 |
|
|
| Zielgruppe | 13+ (keine Kinder-Kategorie) |
|
|
|
|
## 3a. Anschrift des Verantwortlichen (rechtlich, nicht Play)
|
|
|
|
Die Datenschutzerklärung enthält noch `<Anschrift>` als Platzhalter (HTML Zeile 41, Markdown Zeile 29).
|
|
Name und E-Mail sind gesetzt (`softwareapp.hb@gmail.com`), für eine DSGVO-konforme Angabe des
|
|
Verantwortlichen fehlt die Postanschrift. Play prüft das nicht, die DSGVO verlangt es aber.
|
|
Entweder ladungsfähige Adresse eintragen oder eine c/o-Adresse / ein Impressum-Postfach nutzen.
|
|
|
|
## 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.
|
|
|
|
## 3c. Produkt im Play Console anlegen (blockiert den ersten Kauf)
|
|
|
|
Die App fragt `remove_ads` ab; ohne Eintrag im Console steht dort
|
|
„Keine Produkte im Play Store angelegt“ (verifiziert, kein Crash).
|
|
|
|
1. Console → Monetarisieren → Produkte → In-App-Produkt anlegen: ID **`remove_ads`**
|
|
(muss exakt so heißen), Typ *Einmalig*, Preis 4,99 €.
|
|
2. Aktivieren; Produkte sind erst mit einem veröffentlichten Track (Internal Testing genügt)
|
|
abrufbar.
|
|
3. Lizenz-Testkonto im Console eintragen, dann erscheint der Preis in der App.
|
|
|
|
## 4. Echte AdMob-Unit-IDs
|
|
|
|
Aktuell Test-IDs (liefern immer Testanzeigen). Sobald die echten IDs da sind, trage ich sie in
|
|
`app/lib/src/ads/ads_service.dart` ein und baue 0.7.1.
|
|
|
|
## 5. Offene Entscheidungen
|
|
|
|
| Thema | Auswirkung | Aktueller Default |
|
|
|---|---|---|
|
|
| Lizenz | `LICENSE`, OSS-Fähigkeit | proprietär (keine Datei) |
|
|
| Repo-Sichtbarkeit | **muss öffentlich bleiben**: die Datenschutzerklärung wird von dort ausgeliefert | öffentlich auf Gitea |
|