Commit Graph

20 Commits

Author SHA1 Message Date
SoftwareApp a26e0b93b5 m7c: Play Billing and a complete deletion path
- 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).
2026-10-25 04:06:44 +01:00
SoftwareApp 82bd496cc9 legal: contact address and an in-app deletion request
- policies (DE/EN + the hosted HTML) now name softwareapp.hb@gmail.com as the
  contact; the old privacy@softwareapp-hb.de mailbox never existed
- settings sheet: "Datenloeschung anfragen" opens a prefilled mail (recipient,
  subject "Datenloeschung Iron Arc", device id in the body); verified on device,
  Gmail compose opens with all three fields filled
- policies point at that tile instead of the ad status line
- listing: version 0.8.1 -> 0.8.2 plus the Play contact/privacy fields
- blocked.md: new item 3a - the controller's postal address is still <Anschrift>
  (GDPR requires it, Play does not check)
- release 0.8.2 (12)
2026-10-25 03:50:21 +01:00
SoftwareApp 9732a7e453 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).
2026-10-25 03:41:14 +01:00
SoftwareApp 2ed3ee0ea1 app: privacy policy link in the settings sheet
- new lib/src/ui/links.dart holds kPrivacyPolicyUrl (single source of truth for
  the app, the store listing and the compliance docs)
- settings sheet: "Datenschutzerklaerung" tile opens the policy in the browser
  via url_launcher; manifest grown a <queries> VIEW/https intent so Android 11+
  can resolve it
- verified on device: tap sends ACTION_VIEW for the URL and Chrome comes up
- guard: tools/build_release.sh aborts while links.dart still contains the
  example.invalid placeholder, so a release cannot ship without a policy URL
- docs: compliance row updated (in-app entry done, only the public URL missing)
2026-10-25 03:26:24 +01:00
SoftwareApp fb85915418 art: new ingame renderer (sky, parallax, terrain, tanks, effects)
- lib/src/game/art.dart draws the scene with canvas primitives: dusk sky with a
camera-relative sun, three parallax ridges (far = lighter), soil with rim
light and irregular rocks, tanks with hull/turret/barrel/tracks and a
health bar in team colour, comet trail, impact with fireball/ring/sparks and
a dotted aim hint.
- Flutter tokens come from the generated palette, so app UI and artwork match.
- performance was part of the job: the first version ran at 31-40 % jank. An
A/B against the old renderer (0-6.5 %) proved it was the new scene, then the
causes were removed one by one: full-screen radial vignette (now edge bands),
per-ridge gradient shaders and per-frame paints (flat fills, cached paints),
two clipped gradient rects under the surface, terrain redrawn every frame (now
a ui.Picture per terrain version) and mask-filter blurs.
- result on the Redmi Note 10: 60.0 fps, 0.0-0.8 % jank.
- goldens regenerated and reviewed; store screenshots re-captured and renamed
to match their content (01 gameplay, 02 projectile, 03 crater, 04 settings).
- docs/art-direction.md: phase 2 section with the performance table.
2026-10-25 02:59:20 +01:00
SoftwareApp 5f6574d08c art: generated brand system (icon, splash, feature graphic, tokens)
- tools/art/: SVG-authored art rasterised with librsvg. artlib.py provides
gradients, blur/grain/vignette filters, Catmull-Rom paths, reproducible ridges,
ballistics and type; gen_brand.py builds every asset; artgen.py is the CLI.
- palette.json is the single source of truth: it drives the art *and* generates
app/lib/src/ui/palette.dart (splash now reads Palette.ink0/solarBase).
- new icon: dusk scene with sun, an asymmetric shot leaving the frame top-right
and a tank silhouette at the muzzle. Legacy mipmaps + adaptive layers
(background/foreground/monochrome) + anydpi-v26 XML, monochrome for Android 13
themed icons.
- splash: circular badge (zoomed, mask-safe) for the Android 12 splash, badge +
wordmark lockup for the pre-12 launch bitmap and the Flutter splash. The system
icon plate is now identical to the background, so the badge floats.
- feature graphic rebuilt as a poster: type block left, scene confined to the
right half so the shot never crosses the wordmark.
- type aligned with the store title: "TAKTISCHES PANZERDUELL".
- docs/art-direction.md documents principles, palette, asset sources and the
ingame phase 2 plan.
2026-10-25 02:11:14 +01:00
SoftwareApp 92b5ef16cb m7c: brand splash instead of the white startup screen
- LaunchTheme/NormalTheme on #05070A (was the stock light theme + white
  windowBackground) and the Android 12 splash API in values-v31
- splash icon is a padded 512x512 canvas: Android masks everything outside the
  inner 192dp of the 288dp icon area, which clipped the wordmark at the top;
  the icon plate is set to the icon navy
- Flutter splash (lib/src/ui/splash_screen.dart): logo pulses (scale 0.96-1.04,
  opacity 0.72-1.0, 1100 ms) plus a thin progress line, min 700 ms measured
  from the first Flutter frame
- boot work (session, FFI library, ad SDK) now runs after the first frame and
  the game fades in over the splash: no blocking work before the first frame
- numbers (Redmi Note 10, API 31): debug 3053 ms, profile/AOT 2040 ms on the
  first start, 850-960 ms on later cold starts, ready log ~1030 ms
- fixed: top-level Stopwatch only started on first access (Dart lazily
  initialises top-level finals), so the boot log always showed 0 ms
- tools/device/startup.sh measures cold start + boot log; testing.md documents
  the splash chain and the MIUI release-install trap
2026-10-25 02:34:09 +02:00
SoftwareApp 94c3ef0f63 m7b: consent flow verified on device, settings gear labelled
- AdMob privacy message published: UMP form now appears before any ad request
- device proof (Redmi Note 10): "consent form handled" -> "ConsentStatus.obtained"
  -> "SDK initialised" -> "interstitial ready" / "rewarded ready" (strict order)
- privacy options entry point re-opens the form (Play requirement satisfied)
- gear button: Semantics label 'Einstellungen' + larger touch target (a11y)
- docs: autonomous log M4-M7, compliance blocker #7 resolved, blocked.md rewritten
2026-10-25 02:03:46 +02:00
SoftwareApp c0c754b04a fix(ui): make settings gear visible and add device id row 2026-10-25 00:52:08 +02:00
SoftwareApp 5d4affbdbd docs(legal): add privacy policy and expose device id for deletion requests 2026-10-25 00:48:17 +02:00
SoftwareApp ad1360d17f feat(m7b): ump consent flow with fail-safe ad gating and privacy options 2026-10-25 00:39:41 +02:00
SoftwareApp 5ab02ec2df fix(app): publish hud every frame and verify rewarded ads on device 2026-10-25 00:32:28 +02:00
SoftwareApp f91eeba525 feat(m7a): integrate admob app id with test ad units 2026-10-25 00:21:32 +02:00
SoftwareApp 6970daf060 feat(m6): store hardening with r8, release pipeline, symbols and store assets 2026-10-24 23:51:37 +02:00
SoftwareApp 33bdc16fbd feat(m5): client-server sync, offline queue and replay playback 2026-10-24 23:37:13 +02:00
SoftwareApp e8908ef4bb test(m3b): headless golden tests via m3b match source abstraction 2026-10-24 23:02:13 +02:00
SoftwareApp a30784479b feat(m3a): playable flame client with camera, hud and device perf gate 2026-10-24 22:54:29 +02:00
SoftwareApp e77595eaf0 feat(m2): content-driven ruleset, balance cli and tuning findings 2026-10-24 22:43:58 +02:00
SoftwareApp e371c72a35 feat(ffi): prove dart-to-rust pipeline and arm64 determinism on device 2026-10-24 22:27:48 +02:00
SoftwareApp 7fc31151cc feat(m0): add flutter app, android rust pipeline and 16kb alignment check 2026-10-24 19:57:04 +02:00