Compare commits

..

10 Commits

25 changed files with 929 additions and 21 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Blocks accidental commits of signing secrets (defence in depth on top of .gitignore).
set -euo pipefail
blocked=$(git diff --cached --name-only --diff-filter=ACM \
| grep -Ei '(^|/)keys/|\.jks$|\.keystore$|\.p12$|(^|/)key\.properties$' || true)
if [ -n "$blocked" ]; then
echo 'REFUSED: signing secrets must never be committed:' >&2
echo "$blocked" >&2
exit 1
fi
+9
View File
@@ -47,3 +47,12 @@ Thumbs.db
*.log
docs/perf/*.raw
/tmp-artifacts/
# ---------- Signing secrets (never commit) ----------
# Keystore, passwords and key.properties live OUTSIDE the repo in ~/keystore/;
# the Gradle signing config is app/android/key.properties. These patterns are
# defence in depth in case signing material is ever copied back into the tree.
**/key.properties
*.jks
*.keystore
*.p12
+11
View File
@@ -11,7 +11,18 @@ Alle nennenswerten Änderungen an diesem Projekt. Format nach
- (sim) `MAX_HP` 100 -> 150 (laengere, taktischere Matches); `SIM_VERSION` 0.2.0
- (app) Version 0.6.0 (6), HP-Balken gegen `kTankMaxHp`
### Fixed
- (app) HUD blieb auf dem Initialwert (100 HP), weil `onLoad` waehrend des ersten Builds publizierte
### Changed
- (build) Version 0.7.0 (7); signiertes App Bundle mit Upload-Keystore
### Added
- (legal) Datenschutzerklaerung DE/EN als Markdown und als hostbare HTML-Seite
- (app) Geraete-ID im Einstellungen-Sheet sichtbar und kopierbar (fuer Loeschantraege)
- (ads) UMP-Consent-Flow vor SDK-Init, Fail-Safe ohne Zustimmung, Einstellungen-Sheet mit „Datenschutz-Optionen“
- (ads) AdMob App ID im Manifest, `google_mobile_ads`, `AdsService` mit Rewarded/Interstitial und Frequenz-Caps
- (ui) Rewarded-Testbutton; Interstitial nach Matchende (ab Match 4, jeder 2.)
- (build) Release-Skript mit ABI-abhängigem Alignment-Check, native-debug-symbols.zip, AAB
- (build) R8/ProGuard-Regeln, `key.properties`-Support mit Debug-Fallback
- (store) Icon 512, Feature-Graphic 1024x500, 4 Geraete-Screenshots, `store/listing.md`
+2
View File
@@ -57,6 +57,8 @@ docs/ GDD, ADRs, Protokoll, Roadmap, Compliance [erledigt]
| [docs/testing.md](docs/testing.md) | Testpyramide, Determinismus-/Golden-/Device-Tests |
| [docs/compliance-play-store.md](docs/compliance-play-store.md) | Store-Checkliste (targetSdk, Data Safety, UMP, Familien) |
| [docs/decisions.md](docs/decisions.md) | Entscheidungslog des Auftraggebers (HP 150, kein Closed-Test) |
| [docs/privacy-policy.md](docs/privacy-policy.md) | Datenschutzerklärung (DE/EN) + was vor Veröffentlichung einzusetzen ist |
| [docs/signing.md](docs/signing.md) | Upload-Keystore, signierter AAB-Build, Backup-Regeln |
## Konventionen
+2 -2
View File
@@ -15,7 +15,7 @@ if (keystorePropertiesFile.exists()) {
}
android {
namespace = "com.ironarc.iron_arc"
namespace = "de.softwareapp_hb.ironarc"
compileSdk = 36
ndkVersion = "28.2.13676358"
@@ -25,7 +25,7 @@ android {
}
defaultConfig {
applicationId = "com.ironarc.iron_arc"
applicationId = "de.softwareapp_hb.ironarc"
minSdk = 24
targetSdk = 36
versionCode = flutter.versionCode
+6 -1
View File
@@ -1,8 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Needed to reach the replay referee. -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:label="iron_arc"
android:label="Iron Arc"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
@@ -27,6 +28,10 @@
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- AdMob application id (public). Ad unit ids live in lib/src/ads/ads_service.dart. -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3909261635234286~8769927442" />
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
@@ -1,4 +1,4 @@
package com.ironarc.iron_arc
package de.softwareapp_hb.ironarc
import io.flutter.embedding.android.FlutterActivity
+1
View File
@@ -1,5 +1,6 @@
# Copy to app/android/key.properties and fill in for a signed release build.
# The file is git-ignored; without it the release build falls back to debug keys.
# The keystore itself lives outside the repository in /home/ubuntu/keystore/.
storePassword=CHANGE_ME
keyPassword=CHANGE_ME
keyAlias=ironarc
+75 -1
View File
@@ -1,7 +1,10 @@
import 'package:flame/game.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'src/ads/ads_service.dart';
import 'src/game/iron_arc_game.dart';
import 'src/native/native_match.dart';
import 'src/net/api_client.dart';
@@ -39,6 +42,7 @@ class _MatchScreenState extends State<MatchScreen> {
int _seed = 42;
late final ApiClient _api = ApiClient(baseUrl: _baseUrl);
late final OfflineQueue _queue = OfflineQueue();
late final AdsService _ads = AdsService();
late final MatchSession _session =
MatchSession(client: _api, queue: _queue, deviceId: 'pending');
late IronArcGame _game = _buildGame();
@@ -47,10 +51,12 @@ class _MatchScreenState extends State<MatchScreen> {
void initState() {
super.initState();
_initSession();
_ads.initialize();
}
@override
void dispose() {
_ads.dispose();
_api.close();
_session.dispose();
super.dispose();
@@ -84,6 +90,7 @@ class _MatchScreenState extends State<MatchScreen> {
} else if (game.hud.value.isFinished) {
_session.enqueueReplay(game.replayJson());
}
if (game.hud.value.isFinished) _ads.onMatchFinished();
};
return game;
}
@@ -112,6 +119,71 @@ class _MatchScreenState extends State<MatchScreen> {
_toast('Replay läuft');
}
/// Settings sheet: privacy options (UMP requirement) and ad status.
void _openSettings() {
showModalBottomSheet<void>(
context: context,
backgroundColor: const Color(0xFF0B1220),
builder: (sheetContext) => SafeArea(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
ListTile(
leading: const Icon(Icons.privacy_tip_outlined),
title: const Text('Datenschutz-Optionen'),
subtitle: Text(_ads.consentLabel),
onTap: () async {
Navigator.pop(sheetContext);
await _ads.showPrivacyOptions();
if (mounted) _toast('Consent: ${_ads.consentLabel}');
},
),
ListTile(
leading: const Icon(Icons.campaign_outlined),
title: const Text('Werbe-Status'),
subtitle: Text(_ads.statusLabel),
),
ListTile(
leading: const Icon(Icons.fingerprint),
title: const Text('Geraete-ID'),
subtitle: SelectableText(_session.deviceId,
style: const TextStyle(fontSize: 12)),
trailing: IconButton(
icon: const Icon(Icons.copy, size: 18),
onPressed: () async {
await Clipboard.setData(
ClipboardData(text: _session.deviceId));
if (mounted) _toast('Geraete-ID kopiert');
},
),
),
if (kDebugMode)
ListTile(
leading: const Icon(Icons.restart_alt),
title: const Text('Consent zuruecksetzen (Debug)'),
onTap: () async {
Navigator.pop(sheetContext);
await _ads.resetConsent();
if (mounted) _toast('Consent zurueckgesetzt - App neu starten');
},
),
const SizedBox(height: 8),
],
),
),
);
}
Future<void> _showRewardedAd() async {
if (!_ads.isAdsAllowed) {
_toast('Anzeigen erst nach Zustimmung');
return;
}
final reward = await _ads.showRewarded();
if (!mounted) return;
_toast(reward == null ? 'Keine Anzeige verfügbar' : 'Belohnung: +$reward');
}
Future<void> _flushQueue() async {
final validated = await _session.flushQueue();
if (mounted) _toast('$validated Replay(s) validiert');
@@ -152,7 +224,8 @@ class _MatchScreenState extends State<MatchScreen> {
const SizedBox(height: 6),
AnimatedBuilder(
animation: _session,
builder: (context, _) => StatusBar(session: _session),
builder: (context, _) =>
StatusBar(session: _session, onSettings: _openSettings),
),
],
),
@@ -193,6 +266,7 @@ class _MatchScreenState extends State<MatchScreen> {
onOnline: _startOnline,
onReplay: _playReplay,
onFlush: _flushQueue,
onAd: _showRewardedAd,
),
),
),
+248
View File
@@ -0,0 +1,248 @@
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
/// AdMob integration with UMP consent.
///
/// Order matters (Google policy): consent is gathered **before** the Mobile Ads
/// SDK is initialised and before any ad request. Without consent, no ads are
/// requested at all — the UI simply reports "not available".
class AdsService {
/// Official Google test unit for rewarded video.
static const String rewardedUnitId =
'ca-app-pub-3940256099942544/5224354917';
/// Official Google test unit for interstitials.
static const String interstitialUnitId =
'ca-app-pub-3940256099942544/1033173712';
/// Hashed id of the test device (MD5 of the Android ID, upper case).
static const String _testDeviceHashedId = '8FE2A5A74DC63E67AB86EE55E600589C';
/// Never show an interstitial during the first matches (retention).
static const int skipFirstMatches = 3;
/// After that, at most every second match.
static const int everyNthMatch = 2;
RewardedAd? _rewarded;
InterstitialAd? _interstitial;
bool _started = false;
bool _adsAllowed = false;
int _matchesFinished = 0;
ConsentStatus _consentStatus = ConsentStatus.unknown;
bool _privacyOptionsRequired = false;
bool get isInitialized => _started;
bool get isRewardedReady => _rewarded != null;
bool get isAdsAllowed => _adsAllowed;
int get matchesFinished => _matchesFinished;
bool get privacyOptionsRequired => _privacyOptionsRequired;
String get consentLabel => switch (_consentStatus) {
ConsentStatus.obtained => 'Zustimmung erteilt',
ConsentStatus.required => 'Zustimmung erforderlich',
ConsentStatus.notRequired => 'Nicht erforderlich',
ConsentStatus.unknown => 'Unbekannt',
};
String get statusLabel =>
'Consent: $consentLabel · Ads: ${_adsAllowed ? 'aktiv' : 'inaktiv'}'
' · Rewarded: ${isRewardedReady ? 'geladen' : 'nicht geladen'}';
/// Gathers consent, then initialises the SDK only if ads may be requested.
Future<void> initialize() async {
if (_started) return;
_started = true;
await _gatherConsent();
_adsAllowed = await ConsentInformation.instance.canRequestAds();
if (!_adsAllowed) {
debugPrint('ads: no consent - SDK stays idle');
return;
}
await MobileAds.instance.initialize();
debugPrint('ads: SDK initialised');
_loadRewarded();
_loadInterstitial();
}
Future<void> _gatherConsent() async {
final params = ConsentRequestParameters(
consentDebugSettings: kDebugMode
? ConsentDebugSettings(
debugGeography: DebugGeography.debugGeographyEea,
testIdentifiers: const [_testDeviceHashedId],
)
: null,
);
final done = Completer<void>();
ConsentInformation.instance.requestConsentInfoUpdate(
params,
() async {
try {
if (await ConsentInformation.instance.isConsentFormAvailable()) {
await ConsentForm.loadAndShowConsentFormIfRequired(
(FormError? error) {
if (error != null) {
debugPrint('ads: consent form dismissed with error ${error.message}');
} else {
debugPrint('ads: consent form handled');
}
},
);
} else {
debugPrint('ads: no consent form available');
}
} catch (error) {
debugPrint('ads: consent form error $error');
} finally {
if (!done.isCompleted) done.complete();
}
},
(error) {
debugPrint('ads: consent update failed (${error.errorCode}) ${error.message}');
if (!done.isCompleted) done.complete();
},
);
await done.future;
_consentStatus = await ConsentInformation.instance.getConsentStatus();
_privacyOptionsRequired =
(await ConsentInformation.instance.getPrivacyOptionsRequirementStatus()) ==
PrivacyOptionsRequirementStatus.required;
debugPrint(
'ads: consent=$_consentStatus privacyOptionsRequired=$_privacyOptionsRequired',
);
}
/// Shows the UMP privacy options ("Datenschutz-Optionen") if required.
Future<void> showPrivacyOptions() async {
try {
await ConsentForm.showPrivacyOptionsForm((FormError? error) {
if (error != null) {
debugPrint('ads: privacy options error ${error.message}');
}
});
_consentStatus = await ConsentInformation.instance.getConsentStatus();
_adsAllowed = await ConsentInformation.instance.canRequestAds();
debugPrint('ads: privacy options closed, consent=$_consentStatus');
if (_adsAllowed && _rewarded == null) _loadRewarded();
} catch (error) {
debugPrint('ads: privacy options error $error');
}
}
/// Debug helper: forgets the stored consent and re-runs the flow next start.
Future<void> resetConsent() async {
await ConsentInformation.instance.reset();
_consentStatus = ConsentStatus.unknown;
_adsAllowed = false;
_rewarded?.dispose();
_rewarded = null;
_interstitial?.dispose();
_interstitial = null;
debugPrint('ads: consent reset');
}
void _loadRewarded() {
RewardedAd.load(
adUnitId: rewardedUnitId,
request: const AdRequest(),
rewardedAdLoadCallback: RewardedAdLoadCallback(
onAdLoaded: (ad) {
_rewarded = ad;
debugPrint('ads: rewarded ready');
},
onAdFailedToLoad: (error) {
_rewarded = null;
debugPrint('ads: rewarded failed (${error.code}) ${error.message}');
},
),
);
}
void _loadInterstitial() {
InterstitialAd.load(
adUnitId: interstitialUnitId,
request: const AdRequest(),
adLoadCallback: InterstitialAdLoadCallback(
onAdLoaded: (ad) {
_interstitial = ad;
debugPrint('ads: interstitial ready');
},
onAdFailedToLoad: (error) {
_interstitial = null;
debugPrint('ads: interstitial failed (${error.code}) ${error.message}');
},
),
);
}
/// Shows a rewarded video and returns the granted amount, or null if none was
/// available (the caller must not grant a reward in that case).
Future<int?> showRewarded() async {
if (!_adsAllowed) return null;
final ad = _rewarded;
if (ad == null) {
_loadRewarded();
return null;
}
_rewarded = null;
int? earned;
ad.fullScreenContentCallback = FullScreenContentCallback(
onAdDismissedFullScreenContent: (ad) {
ad.dispose();
_loadRewarded();
},
onAdFailedToShowFullScreenContent: (ad, error) {
debugPrint('ads: rewarded show failed ${error.code}');
ad.dispose();
_loadRewarded();
},
);
await ad.show(onUserEarnedReward: (ad, reward) {
earned = reward.amount.toInt();
debugPrint('ads: reward ${reward.amount} ${reward.type}');
});
return earned;
}
/// Called when a match ends; applies the frequency caps from the GDD.
void onMatchFinished() {
if (!_adsAllowed) return;
_matchesFinished++;
if (_matchesFinished <= skipFirstMatches) return;
if (_matchesFinished % everyNthMatch != 0) return;
final ad = _interstitial;
if (ad == null) {
_loadInterstitial();
return;
}
_interstitial = null;
ad.fullScreenContentCallback = FullScreenContentCallback(
onAdDismissedFullScreenContent: (ad) {
ad.dispose();
_loadInterstitial();
},
onAdFailedToShowFullScreenContent: (ad, error) {
debugPrint('ads: interstitial show failed ${error.code}');
ad.dispose();
_loadInterstitial();
},
);
ad.show();
}
void dispose() {
_rewarded?.dispose();
_interstitial?.dispose();
_rewarded = null;
_interstitial = null;
}
}
+5 -2
View File
@@ -113,7 +113,8 @@ class IronArcGame extends FlameGame {
@override
Future<void> onLoad() async {
_match = matchFactory?.call() ?? NativeMatch(seed);
_pushHud();
// Do not publish here: notifying listeners during the first build is lost.
// The first update() call publishes the loaded state on the next frame.
}
@override
@@ -135,7 +136,6 @@ class IronArcGame extends FlameGame {
_accumulator -= step;
steps++;
}
_pushHud();
} else if (_match.isAiming) {
_accumulator = 0;
}
@@ -155,6 +155,9 @@ class IronArcGame extends FlameGame {
}
}
_wasFlying = flying;
// Publish every frame: the notifier only fires on real changes, and this
// guarantees the first painted frame already shows the loaded match state.
_pushHud();
_updateCamera(dt);
}
+14 -1
View File
@@ -53,9 +53,10 @@ class Hud extends StatelessWidget {
/// Connection state and pending-replay counter.
class StatusBar extends StatelessWidget {
const StatusBar({super.key, required this.session});
const StatusBar({super.key, required this.session, required this.onSettings});
final MatchSession session;
final VoidCallback onSettings;
@override
Widget build(BuildContext context) {
@@ -83,6 +84,15 @@ class StatusBar extends StatelessWidget {
Text('· ${session.queued} pending',
style: const TextStyle(fontSize: 11, color: Color(0xFFFFC107))),
],
const SizedBox(width: 4),
InkWell(
onTap: onSettings,
borderRadius: BorderRadius.circular(12),
child: const Padding(
padding: EdgeInsets.all(4),
child: Icon(Icons.tune, size: 16, color: Color(0xFF90A4AE)),
),
),
],
);
}
@@ -96,12 +106,14 @@ class Controls extends StatelessWidget {
required this.onOnline,
required this.onReplay,
required this.onFlush,
required this.onAd,
});
final MatchSession session;
final VoidCallback onOnline;
final VoidCallback onReplay;
final VoidCallback onFlush;
final VoidCallback onAd;
@override
Widget build(BuildContext context) {
@@ -115,6 +127,7 @@ class Controls extends StatelessWidget {
label: session.queued > 0 ? 'Senden (${session.queued})' : 'Senden',
onTap: onFlush,
),
_Action(icon: Icons.ondemand_video, label: 'Ad', onTap: onAd),
],
);
}
+41 -1
View File
@@ -112,6 +112,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
google_mobile_ads:
dependency: "direct main"
description:
name: google_mobile_ads
sha256: "439e018d73b47565d1cf21410e893a8f46d5fb95110c41c266a6fb78449d7106"
url: "https://pub.dev"
source: hosted
version: "9.2.0"
http:
dependency: "direct main"
description:
@@ -405,6 +413,38 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.2"
webview_flutter:
dependency: transitive
description:
name: webview_flutter
sha256: d53e1ccf5516f25017e3c9d44c39034db352d20fa34fe200674270242c2c5111
url: "https://pub.dev"
source: hosted
version: "4.14.1"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
sha256: "4de8b3d1ff4ebe1bdb42e68a5e4f809194a3cb0117a8f495f590004f00da3964"
url: "https://pub.dev"
source: hosted
version: "4.14.1"
webview_flutter_platform_interface:
dependency: transitive
description:
name: webview_flutter_platform_interface
sha256: "1221c1b12f5278791042f2ec2841743784cf25c5a644e23d6680e5d718824f04"
url: "https://pub.dev"
source: hosted
version: "2.15.1"
webview_flutter_wkwebview:
dependency: transitive
description:
name: webview_flutter_wkwebview
sha256: acac45e0a8d7beb1d0805521f44842f406c46eb5a69410f53d935e3c62138afc
url: "https://pub.dev"
source: hosted
version: "3.27.2"
xdg_directories:
dependency: transitive
description:
@@ -415,4 +455,4 @@ packages:
version: "1.1.0"
sdks:
dart: ">=3.13.4 <4.0.0"
flutter: ">=3.44.0"
flutter: ">=3.47.0"
+2 -1
View File
@@ -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.6.0+6
version: 0.7.0+7
environment:
sdk: ^3.13.4
@@ -38,6 +38,7 @@ dependencies:
ffi: ^2.2.0
http: ^1.6.0
shared_preferences: ^2.5.6
google_mobile_ads: ^9.2.0
dev_dependencies:
flutter_test:
+11 -4
View File
@@ -32,17 +32,19 @@ Legende: `[ ]` offen · `[x]` erledigt · `[~]` teilweise/geplant mit Owner
| Native Symbole | `build/native-debug-symbols.zip` = 527.231 Bytes |
| Manifest | `versionCode=6`, `versionName=0.6.0`, `minSdk 24`, `targetSdk 36` |
| R8/Minify | aktiv; Release-APK auf Gerät installiert, Match gespielt, keine Crashes |
| Signing | `key.properties`-Support mit Debug-Fallback; echtes Upload-Zertifikat **fehlt noch** |
| Signatur-Zertifikat | `CN=Hadrian Burkhardt, O=softwareapp-hb.de, C=DE`
| Zertifikat SHA-256 | `10:B6:76:BF:7A:B9:8C:5F:7B:E3:6B:CB:DA:AC:91:91:1F:A4:3D:BA:19:6F:F7:DC:A9:F3:30:54:E6:B9:0B:63` |
| Signing | **erledigt**: Upload-Keystore `/home/ubuntu/keystore/ironarc-upload.jks` (RSA 4096, gültig bis 11.03.2054), AAB per `jarsigner -verify` bestätigt |
## 2. App-Inhalte (Play Console)
| Status | Feld | Antwort/Plan |
|---|---|---|
| `[ ]` | Enthält Werbung | **Ja** (AdMob, Interstitial/Rewarded/Banner) |
| `[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 | URL öffentlich; deckt AdMob/GA4/Firebase, Device-/Ad-ID, Crash-Logs, ungefährer Standort aus IP |
| `[ ]` | Data-Safety-Formular | Käufe, App-Interaktionen, Crash-Daten, Geräte-IDs; Weitergabe an Google (Ads) angeben |
| `[~]` | Datenschutzerklärung | Text fertig: [privacy-policy.md](privacy-policy.md) + `store/privacy-policy.html`. **URL fehlt noch** (auf softwareapp-hb.de hosten, dann in der Console eintragen). Deckt: Geräte-ID, Match-/Replay-Daten, AdMob (Werbe-ID, IP, Geräteinfos), 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 |
| `[ ]` | News-App? | Nein |
@@ -110,3 +112,8 @@ Ein Release ist **nicht** erlaubt, wenn einer dieser Punkte offen ist:
3. Keine `native-debug-symbols.zip` im Upload.
4. Data-Safety-Formular unvollständig.
5. Account-Löschung nicht implementiert.
6. **Keystore nicht gesichert** (kein verschlüsseltes Backup außerhalb dieses Rechners).
Ohne ihn sind keine Updates der veröffentlichten App möglich.
7. **Keine Datenschutz-Nachricht in AdMob konfiguriert** (UMP liefert dann `unknown` und
`canRequestAds()==true` → Werbung ohne Einwilligung in der EU). Nachweis: `ads: consent update failed (3)`
im Logcat, solange die Nachricht fehlt. Schritt-für-Schritt in [monetization.md](monetization.md#7b-ump-consent-m7b-umgesetzt).
+39
View File
@@ -40,3 +40,42 @@ nachholen. Alle technischen Release-Voraussetzungen sind davon unberührt und er
Kein Design-Entscheid, sondern eine beim Gerätetest gefundene Korrektur: u64-Hashes
transportieren wir als 16-stellige Hex-Strings, weil JSON-Zahlen ab 2^53 an Präzision
verlieren. Details in [protocol.md](protocol.md#44-hash-kodierung-im-http-protokoll).
---
## D4 — applicationId `de.softwareapp_hb.ironarc` (2026-10-24)
**Entscheidung:** Die App verwendet `de.softwareapp_hb.ironarc` (vorher `com.ironarc.iron_arc`).
Der Unterstrich ist ausdruecklicher Wunsch des Auftraggebers.
**Herkunft:** Domain **`softwareapp-hb.de`** des Auftraggebers.
**Gueltigkeit:** Android/Java erlauben Unterstriche in Paketsegmenten (jedes Segment beginnt mit
einem Buchstaben, danach Buchstaben, Ziffern, Unterstrich). AGP, R8, Kotlin, Firebase und AdMob
akzeptieren die ID; sie ist technisch vollwertig und im Release-Artefakt verifiziert.
**Bewusste Abweichung:** Die uebliche Konvention entfernt den Bindestrich der Domain
(`de.softwareapphb.ironarc`). Mit Unterstrich laesst sich die Domain nicht per Reverse-DNS
verifizieren (Unterstriche sind in DNS-Hostnamen unzulaessig). Das ist nur relevant, falls
spaeter App Links/Domain-Verifizierung oder eine Play-Rueckfrage zur Namensherkunft kommt.
**Konsequenz:** Nach dem ersten Play-Upload unveraenderlich. Muster fuer weitere Apps:
`de.softwareapp_hb.<produkt>`. Alte Testinstallation entfernen
(`adb uninstall com.ironarc.iron_arc`).
**Verworfen:** `de.softwareapp-hb.ironarc` (Bindestrich ist technisch ungueltig).
---
## D5 — AdMob: Test-Units bis echte Unit-IDs vorliegen (2026-10-24)
**Entscheidung:** Die App enthaelt die echte AdMob **App ID**
(`ca-app-pub-3909261635234286~8769927442`), zeigt aber ausschliesslich Googles
offizielle **Test-Units**.
**Begruendung:** Live-Ads aus Entwicklungs-Builds erzeugen Invalid Traffic und koennen das
AdMob-Konto sperren. Test-Units liefern zuverlaessig Fill und sind dafuer vorgesehen.
**Naechster Schritt:** echte Unit-IDs (Rewarded, Interstitial, ggf. Banner) vom Auftraggeber,
dann Ersatz der Konstanten in `app/lib/src/ads/ads_service.dart` — **erst nach** implementiertem
UMP-Consent.
+42
View File
@@ -100,6 +100,48 @@ nicht an der Technik.
Jeder Test: mind. 7 Tage, eine Variable, Entscheidung nach ARPDAU **und** D7 (nie nur Umsatz).
## 7a. Umsetzungsstand (M7a, 2026-10-24)
| Punkt | Wert |
|---|---|
| AdMob **App ID** | `ca-app-pub-3909261635234286~8769927442` (in `AndroidManifest.xml`, im Release-APK verifiziert) |
| Ad-Unit-IDs | Googles **Test-Units** (Rewarded `…/5224354917`, Interstitial `…/1033173712`) |
| SDK | `google_mobile_ads`, initialisiert beim App-Start |
| Frequenz-Caps | Interstitial erst ab Match 4, dann jeder 2. Match (`AdsService`) |
| Rewarded | Test-Button im UI, Belohnung wird quittiert |
| **Offen** | echte Ad-Unit-IDs, **UMP-Consent (Pflicht vor Live-Ads in der EU)**, „Remove Ads"-IAP |
## 7b. UMP-Consent (M7b, umgesetzt)
| Punkt | Umsetzung |
|---|---|
| Ablauf | `requestConsentInfoUpdate` → `loadAndShowConsentFormIfRequired` → **erst danach** `MobileAds.initialize()` |
| Gate | Ohne `canRequestAds() == true` werden **keine** Ads geladen (fail-safe) |
| Einstiegspunkt | Zahnrad in der Statusleiste → „Datenschutz-Optionen“ (`showPrivacyOptionsForm`) |
| Debug | `ConsentDebugSettings` mit EEA-Geografie + Testgerät `8FE2A5A74DC63E67AB86EE55E600589C` |
| Statusanzeige | „Consent: … · Ads: aktiv/inaktiv · Rewarded: geladen“ |
### Ergebnis des Gerätetests (2026-10-24)
```
ads: consent update failed (3) Publisher misconfiguration: no form(s) configured
for the input app ID ca-app-pub-3909261635234286~8769927442
ads: consent=ConsentStatus.unknown privacyOptionsRequired=false
ads: SDK initialised
```
**Das ist erwartet:** Im AdMob-Konto ist noch **keine Datenschutz-Nachricht** angelegt. Ohne sie
liefert UMP `unknown` und `canRequestAds()` gibt `true` zurück – die App würde in der EU also
**ohne Einwilligung** werben. Deshalb ist das ein harter Release-Blocker:
1. AdMob → **Privacy & messaging** → **GDPR** → *Create message* (Deutsch + Englisch)
2. Nachricht der App `Iron Arc` zuordnen, Zielregionen EEA/UK/CH
3. **Consent Management Platform**: Google (UMP) als CMP bestätigen
4. App neu starten → Formular erscheint auf EEA-Testgeräten, `consent=obtained`, danach erst Ads
**Wichtig:** Bis das erledigt ist, bleiben Test-Units aktiv (kein Invalid Traffic) und es gehen
keine echten Anzeigen live.
## 8. Offene Punkte
1. Ads schon in MVP-1 (Test-IDs) oder erst M7? (siehe README, offene Entscheidungen)
+177
View File
@@ -0,0 +1,177 @@
# Datenschutzerklärung — Iron Arc
| Feld | Wert |
|---|---|
| App | Iron Arc (`de.softwareapp_hb.ironarc`) |
| Verantwortlicher | Hadrian Burkhardt, `<Anschrift>`, E-Mail: `privacy@softwareapp-hb.de` |
| Stand | 2026-10-24 (Version 1.0) |
| Gültig für | Google-Play-Version ab 0.6.0 |
> **Hinweis für den Betreiber:** Dieser Text ist auf Basis des tatsächlichen Codes erstellt
> (siehe „Welche Daten verarbeitet werden“) und **kein Rechtsrat**. Vor der Veröffentlichung
> Anschrift und Hosting-Anbieter einsetzen (markiert mit `<…>`) und den Text rechtlich prüfen lassen.
---
## 1. Kurzfassung
- Wir betreiben **kein** Nutzerkonto und erheben **keinen** Namen, keine E-Mail-Adresse,
keine Kontakte, keine Fotos und keinen GPS-Standort.
- Für Online-Duelle speichern wir eine **zufällig erzeugte Geräte-ID** und die Match-Daten.
- Werbung läuft über **Google AdMob**. Ob personalisierte Werbung erlaubt ist, fragt die App
beim ersten Start (Einwilligung nach DSGVO). Ohne Einwilligung werden keine personalisierten
Anzeigen ausgeliefert.
- Du kannst Auskunft, Berichtigung und **Löschung** per E-Mail verlangen.
## 2. Verantwortlicher
Hadrian Burkhardt
`<Anschrift>`
E-Mail: `privacy@softwareapp-hb.de`
Website: https://softwareapp-hb.de
## 3. Welche Daten verarbeitet werden
### 3.1 Nur auf deinem Gerät
| Datum | Zweck | Speicherort |
|---|---|---|
| Geräte-ID (`dev-…`, zufällig erzeugt, **kein** Hardware-Identifier) | Wiedererkennung für Rangliste/Löschanträge | App-Speicher (SharedPreferences) |
| Ausstehende Replays (JSON) | Offline gespielte Matches später prüfen | App-Speicher |
Diese Daten verlassen das Gerät nur, wenn du **Online-Duelle** nutzt oder die Warteschlange
(„Senden“) auslöst. Beim Deinstallieren werden sie gelöscht.
### 3.2 Online-Duelle (eigener Spielserver)
Wenn du ein Online-Match startest, übermittelt die App:
| Datum | Zweck | Rechtsgrundlage |
|---|---|---|
| Geräte-ID | Zuordnung von Match und Rangliste | Art. 6 Abs. 1 lit. b DSGVO (Vertrag) |
| Match-Metadaten (Modus, Seed, Regelversion, Zug-Nummer) | Spielabwicklung | Art. 6 Abs. 1 lit. b |
| Replay-Daten (Züge, Prüfsummen) | **Cheat-Schutz**: der Server rechnet jedes Match nach | Art. 6 Abs. 1 lit. f (berechtigtes Interesse an fairer Rangliste) |
| Trophäen-Punkte | Rangliste | Art. 6 Abs. 1 lit. b |
Es findet **keine** Profilbildung und kein Tracking über andere Apps oder Websites statt.
### 3.3 Werbung (Google AdMob)
Die App bindet das Google Mobile Ads SDK ein. Dabei können verarbeitet werden:
- Werbe-ID des Geräts (Advertising ID) — **nur mit deiner Einwilligung** für personalisierte Werbung
- IP-Adresse (daraus abgeleiteter ungefährer Standort auf Regionsebene)
- Geräte- und App-Informationen (Modell, Betriebssystemversion, Sprache, App-Version)
- Interaktion mit der Anzeige (Impression, Klick)
**Rechtsgrundlage:** Art. 6 Abs. 1 lit. a DSGVO (Einwilligung), eingeholt über das
Google-eigene Consent-Management (UMP) vor der ersten Anzeige. Für nicht personalisierte
Werbung stützen wir uns auf Art. 6 Abs. 1 lit. f (Finanzierung des kostenlosen Angebots).
Du kannst deine Einwilligung jederzeit ändern: **Zahnrad-Symbol → „Datenschutz-Optionen“**.
Empfänger: Google Ireland Limited, Gordon House, Barrow Street, Dublin 4, Irland; Google LLC, USA.
Google handelt für Werbung als eigener Verantwortlicher; Einzelheiten in der
[Google-Datenschutzerklärung](https://policies.google.com/privacy) und
[Google-Werberichtlinien](https://policies.google.com/technologies/ads).
### 3.4 Was **nicht** verarbeitet wird
Name, E-Mail-Adresse, Telefonnummer, Adressbuch, Fotos, Mikrofon, Kamera, GPS-Position,
Gesundheitsdaten, Zahlungsdaten (Käufe werden ausschließlich von Google Play abgewickelt),
Standortverlauf, Nutzung anderer Apps.
## 4. Empfänger und Drittlandtransfer
| Empfänger | Zweck | Ort |
|---|---|---|
| `<Hosting-Anbieter>` | Betrieb des Spielservers | EU |
| Google Ireland Ltd. / Google LLC | Werbung, Consent-Management | EU / USA |
Übermittlungen in die USA stützen sich auf den **EU-US Data Privacy Framework** bzw.
Standardvertragsklauseln (Art. 46 DSGVO). Mit dem Hosting-Anbieter besteht ein
Auftragsverarbeitungsvertrag (Art. 28 DSGVO).
## 5. Speicherdauer
| Daten | Dauer |
|---|---|
| Geräte-ID (Server) | bis zur Löschung auf Anfrage |
| Match- und Replay-Daten | 90 Tage, danach automatisch gelöscht |
| Trophäen | bis zum Ende der Saison + 30 Tage |
| Lokale Daten | bis zur Deinstallation oder Löschung in der App |
## 6. Deine Rechte
Du hast das Recht auf Auskunft (Art. 15), Berichtigung (Art. 16), Löschung (Art. 17),
Einschränkung der Verarbeitung (Art. 18), Datenübertragbarkeit (Art. 20) und Widerspruch
(Art. 21 DSGVO). Eine erteilte Einwilligung kannst du jederzeit mit Wirkung für die Zukunft
widerrufen (Art. 7 Abs. 3).
**Löschung beantragen:** E-Mail an `privacy@softwareapp-hb.de` mit der Geräte-ID
(angezeigt unter **Zahnrad → Werbe-Status**). Wir löschen die Serverdaten innerhalb von 30 Tagen.
**Beschwerde:** Du kannst dich bei einer Aufsichtsbehörde beschweren, z. B. der für den
Verantwortlichen zuständigen Landesdatenschutzbeauftragten.
## 7. Kinder und Jugendliche
Die App richtet sich nicht an Kinder unter 13 Jahren. Wir erheben wissentlich keine Daten von
Kindern. Eltern können die Löschung über die oben genannte Adresse verlangen.
## 8. Sicherheit
Die Übertragung zum Spielserver erfolgt per HTTPS. Server-Zugriffe sind auf das notwendige Maß
beschränkt; Replay-Daten enthalten keine personenbezogenen Inhalte außer der Geräte-ID.
## 9. Änderungen
Wir passen diese Erklärung an, wenn sich die App ändert. Die aktuelle Version ist stets unter
https://softwareapp-hb.de/datenschutz abrufbar; das Datum oben zeigt den Stand.
---
# Privacy Policy (English)
**Controller:** Hadrian Burkhardt, `<address>`, `privacy@softwareapp-hb.de`
**Summary.** No account, no name, no e-mail, no contacts, no photos, no GPS. For online duels we
store a randomly generated device id plus match data. Ads are served by Google AdMob; personalised
ads only with your consent, collected before the first ad via Google's consent tool (UMP). You can
change your choice any time under **gear icon → Privacy options**.
**Data we process**
| Data | Purpose | Legal basis |
|---|---|---|
| Device id (random, not a hardware id) | Online matches, leaderboard, deletion requests | Art. 6(1)(b) GDPR |
| Match metadata, replays, hashes | Gameplay and anti-cheat (server re-simulates every match) | Art. 6(1)(b), (f) |
| Advertising ID, IP address, device/app info | Advertising (Google AdMob) | Art. 6(1)(a) consent, (f) for non-personalised |
**Not processed:** name, e-mail, phone, contacts, photos, microphone, camera, GPS, health data,
payment data (handled by Google Play).
**Recipients:** `<hosting provider>` (game server, EU), Google Ireland Ltd. / Google LLC
(ads, consent). Transfers to the US rely on the EU-US Data Privacy Framework or SCCs.
**Retention:** match and replay data 90 days, trophies until season end + 30 days, device id until
requested deletion.
**Your rights:** access, rectification, erasure, restriction, portability, objection, withdrawal of
consent, complaint to a supervisory authority. To request deletion, e-mail
`privacy@softwareapp-hb.de` with your device id (shown under **gear → Ad status**).
**Children:** not directed at children under 13.
**Contact:** `privacy@softwareapp-hb.de`
---
## Was du vor Veröffentlichung einsetzen musst
| Platzhalter | Wofür |
|---|---|
| `<Anschrift>` / `<address>` | Postanschrift des Verantwortlichen (Empfehlung; für ein Impressum ohnehin nötig) |
| `<Hosting-Anbieter>` | Name des Servers-Hosters (z. B. Hetzner, Cloud Run) inkl. AVV |
| `privacy@softwareapp-hb.de` | Postfach einrichten (oder Gmail-Adresse eintragen) |
| URL | Seite unter `https://softwareapp-hb.de/datenschutz` hosten und in der Play Console eintragen |
+64
View File
@@ -0,0 +1,64 @@
# Signing — Upload-Keystore und App Bundle
| Feld | Wert |
|---|---|
| Keystore | **`~/keystore/ironarc-upload.jks`** (außerhalb des Repos) |
| Alias | `ironarc` |
| Typ / Algorithmus | PKCS12 · RSA 4096 · SHA384withRSA |
| Gültig | 2026-10-25 – **2054-03-11** |
| Zertifikat | `CN=Hadrian Burkhardt, O=softwareapp-hb.de, C=DE` |
| SHA-256 | `10:B6:76:BF:7A:B9:8C:5F:7B:E3:6B:CB:DA:AC:91:91:1F:A4:3D:BA:19:6F:F7:DC:A9:F3:30:54:E6:B9:0B:63` |
| Passwort | `~/keystore/ironarc-upload.pw`, Details in `~/keystore/ironarc-credentials.txt` (beide `chmod 600`) |
## Konvention (siehe `~/keystore/README.md`)
Alle Upload-Keystores dieser Maschine liegen **zentral in `~/keystore/`**, bewusst außerhalb
der Git-Repositories: Ein Clone oder ZIP eines Projekts enthält dadurch **kein** Signingmaterial,
und ein Backup muss nur einen Ordner abdecken.
Projekte referenzieren den Keystore über eine **git-ignorierte** Properties-Datei mit
**absolutem Pfad** — bei Flutter `app/android/key.properties`:
```properties
storePassword=…
keyPassword=…
keyAlias=ironarc
storeFile=/home/ubuntu/keystore/ironarc-upload.jks
```
Der absolute Pfad ist bewusst gewählt: Ein relativer Pfad aus `app/android/app/` müsste drei
Ebenen nach oben zeigen und wäre beim Verschieben des Projekts still kaputt (der Build fällt
dann auf Debug-Keys zurück).
## Signierten Build erzeugen
```bash
cd app && flutter build appbundle --release
# → build/app/outputs/bundle/release/app-release.aab
```
## Signatur prüfen
```bash
jarsigner -verify build/app/outputs/bundle/release/app-release.aab # → jar verified.
keytool -printcert -jarfile build/app/outputs/bundle/release/app-release.aab
```
Die Warnung „self-signed / invalid certificate chain“ ist bei Android-Upload-Keys normal.
## Schutz gegen versehentliches Committen
1. `.gitignore` → `**/key.properties`, `*.jks`, `*.keystore`, `*.p12`
2. `.githooks/pre-commit` → blockiert Commits mit Signingmaterial (einmalig aktivieren:
`git config core.hooksPath .githooks`)
## Wenn der Keystore verloren geht
Ohne Keystore sind keine Updates der veröffentlichten App möglich. Google bietet einen
**Upload-Key-Reset** an (neuer Upload-Key, App-Signing-Key bleibt bei Google) — möglich, aber
mit Prüfprozess. Deshalb: `~/keystore/` auf verschlüsselte Medien sichern (zwei Kopien).
## Play App Signing
Beim ersten Upload aktivieren. Dann ist dieser Keystore der **Upload-Key**; Google verwaltet den
eigentlichen App-Signing-Key und kann ihn im Notfall ersetzen.
+1 -1
View File
@@ -24,7 +24,7 @@
| Thema | Auswirkung | Aktueller Default |
|---|---|---|
| Finaler Markenname | `applicationId`, Store-Listing, Icon | IRON ARC / `com.ironarc.iron_arc` |
| Finaler Markenname | `applicationId`, Store-Listing, Icon | IRON ARC / `de.softwareapp_hb.ironarc` |
| Lizenz | `LICENSE`, OSS-Fähigkeit | proprietär (keine Datei) |
| Art-Pipeline | M3-Renderer, Asset-Format | Vektor → PNG-Atlas (Vorschlag) |
| Ads ab MVP-1? | UMP-Consent-Skeleton in M3 | nein (erst M7) |
+3 -3
View File
@@ -2,10 +2,10 @@
| Feld | Wert |
|---|---|
| Paket | `com.ironarc.iron_arc` |
| Version | 0.6.0 (versionCode 6) |
| Paket | `de.softwareapp_hb.ironarc` |
| Version | 0.7.0 (versionCode 7) |
| Zielgruppe | 13+, **nicht** im Families-Programm |
| Enthält Werbung | Ja (ab M7 aktiv, aktuell noch keine Ad-SDKs im Build) |
| Enthält Werbung | Ja – AdMob SDK ist eingebaut (App ID `ca-app-pub-3909261635234286~8769927442`) |
| In-App-Käufe | Ja (geplant ab M7) |
## Titel (max. 30 Zeichen)
+162
View File
@@ -0,0 +1,162 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Datenschutzerklärung — Iron Arc</title>
<style>
:root { color-scheme: dark; }
body { margin: 0 auto; max-width: 780px; padding: 32px 20px 80px;
font: 16px/1.65 -apple-system, "Segoe UI", Roboto, sans-serif;
background: #0b1220; color: #e6edf3; }
h1 { font-size: 1.9rem; margin-bottom: 4px; }
h2 { font-size: 1.25rem; margin-top: 2.2rem; border-bottom: 1px solid #24303f; padding-bottom: 6px; }
h3 { font-size: 1.02rem; margin-top: 1.6rem; color: #ffb74d; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .93rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #24303f; vertical-align: top; }
th { color: #8fd694; font-weight: 600; }
code, .id { background: #16202e; padding: 1px 6px; border-radius: 4px; font-size: .9em; }
a { color: #4dd0e1; }
.meta { color: #90a4ae; font-size: .9rem; }
.note { background: #16202e; border-left: 3px solid #ffb74d; padding: 12px 16px; border-radius: 6px; }
mark { background: #553c00; color: #ffe082; padding: 0 4px; border-radius: 3px; }
hr { border: 0; border-top: 1px solid #24303f; margin: 48px 0; }
.lang { color: #90a4ae; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
</style>
</head>
<body>
<p class="lang">Deutsch</p>
<h1>Datenschutzerklärung — Iron Arc</h1>
<p class="meta">App: <code>de.softwareapp_hb.ironarc</code> · Stand: 24.10.2026 · Version 1.0</p>
<div class="note">
<strong>Kurzfassung:</strong> Kein Nutzerkonto, kein Name, keine E-Mail, keine Kontakte, keine Fotos,
kein GPS-Standort. Für Online-Duelle speichern wir eine zufällig erzeugte Geräte-ID und Match-Daten.
Werbung läuft über Google AdMob; personalisierte Werbung nur mit deiner Einwilligung.
Löschung jederzeit per E-Mail möglich.
</div>
<h2>1. Verantwortlicher</h2>
<p>Hadrian Burkhardt<br><mark>&lt;Anschrift&gt;</mark><br>
E-Mail: <a href="mailto:privacy@softwareapp-hb.de">privacy@softwareapp-hb.de</a><br>
Website: <a href="https://softwareapp-hb.de">softwareapp-hb.de</a></p>
<h2>2. Welche Daten verarbeitet werden</h2>
<h3>2.1 Nur auf deinem Gerät</h3>
<table>
<tr><th>Datum</th><th>Zweck</th></tr>
<tr><td>Geräte-ID (<code>dev-…</code>, zufällig erzeugt, <strong>kein</strong> Hardware-Identifier)</td><td>Wiedererkennung für Rangliste und Löschanträge</td></tr>
<tr><td>Ausstehende Replays (JSON)</td><td>Offline gespielte Matches später prüfen</td></tr>
</table>
<p>Diese Daten verlassen das Gerät nur, wenn du Online-Duelle nutzt oder „Senden“ auslöst.
Beim Deinstallieren werden sie gelöscht.</p>
<h3>2.2 Online-Duelle (eigener Spielserver)</h3>
<table>
<tr><th>Datum</th><th>Zweck</th><th>Rechtsgrundlage</th></tr>
<tr><td>Geräte-ID</td><td>Zuordnung von Match und Rangliste</td><td>Art. 6 Abs. 1 lit. b DSGVO</td></tr>
<tr><td>Match-Metadaten (Modus, Seed, Regelversion, Zug)</td><td>Spielabwicklung</td><td>Art. 6 Abs. 1 lit. b</td></tr>
<tr><td>Replay-Daten (Züge, Prüfsummen)</td><td>Cheat-Schutz: der Server rechnet jedes Match nach</td><td>Art. 6 Abs. 1 lit. f</td></tr>
<tr><td>Trophäen-Punkte</td><td>Rangliste</td><td>Art. 6 Abs. 1 lit. b</td></tr>
</table>
<p>Keine Profilbildung, kein Tracking über andere Apps oder Websites.</p>
<h3>2.3 Werbung (Google AdMob)</h3>
<p>Verarbeitet werden können: Werbe-ID (<strong>nur mit Einwilligung</strong> für personalisierte Werbung),
IP-Adresse (ungefährer Standort auf Regionsebene), Geräte- und App-Informationen sowie
Interaktionsdaten der Anzeige.</p>
<p><strong>Rechtsgrundlage:</strong> Art. 6 Abs. 1 lit. a DSGVO (Einwilligung über das
Google-Consent-Management UMP vor der ersten Anzeige); für nicht personalisierte Werbung
Art. 6 Abs. 1 lit. f.</p>
<p>Einwilligung ändern: <strong>Zahnrad-Symbol → „Datenschutz-Optionen“</strong>.</p>
<p>Empfänger: Google Ireland Limited, Dublin, Irland; Google LLC, USA.
Details: <a href="https://policies.google.com/privacy">Google-Datenschutzerklärung</a>,
<a href="https://policies.google.com/technologies/ads">Werberichtlinien</a>.</p>
<h3>2.4 Was nicht verarbeitet wird</h3>
<p>Name, E-Mail-Adresse, Telefonnummer, Adressbuch, Fotos, Mikrofon, Kamera, GPS-Position,
Gesundheitsdaten, Zahlungsdaten (Käufe wickelt ausschließlich Google Play ab), Standortverlauf,
Nutzung anderer Apps.</p>
<h2>3. Empfänger und Drittlandtransfer</h2>
<table>
<tr><th>Empfänger</th><th>Zweck</th><th>Ort</th></tr>
<tr><td><mark>&lt;Hosting-Anbieter&gt;</mark></td><td>Betrieb des Spielservers</td><td>EU</td></tr>
<tr><td>Google Ireland Ltd. / Google LLC</td><td>Werbung, Consent-Management</td><td>EU / USA</td></tr>
</table>
<p>Übermittlungen in die USA stützen sich auf das EU-US Data Privacy Framework bzw.
Standardvertragsklauseln (Art. 46 DSGVO). Mit dem Hosting-Anbieter besteht ein
Auftragsverarbeitungsvertrag (Art. 28 DSGVO).</p>
<h2>4. Speicherdauer</h2>
<table>
<tr><th>Daten</th><th>Dauer</th></tr>
<tr><td>Geräte-ID (Server)</td><td>bis zur Löschung auf Anfrage</td></tr>
<tr><td>Match- und Replay-Daten</td><td>90 Tage, danach automatisch gelöscht</td></tr>
<tr><td>Trophäen</td><td>bis Saisonende + 30 Tage</td></tr>
<tr><td>Lokale Daten</td><td>bis Deinstallation oder Löschung</td></tr>
</table>
<h2>5. Deine Rechte</h2>
<p>Auskunft (Art. 15), Berichtigung (Art. 16), Löschung (Art. 17), Einschränkung (Art. 18),
Datenübertragbarkeit (Art. 20), Widerspruch (Art. 21) sowie jederzeitiger Widerruf der
Einwilligung (Art. 7 Abs. 3 DSGVO).</p>
<p><strong>Löschung beantragen:</strong>
<a href="mailto:privacy@softwareapp-hb.de">privacy@softwareapp-hb.de</a> mit deiner Geräte-ID
(angezeigt unter <strong>Zahnrad → Werbe-Status</strong>). Wir löschen innerhalb von 30 Tagen.</p>
<p><strong>Beschwerde:</strong> bei der für den Verantwortlichen zuständigen Aufsichtsbehörde.</p>
<h2>6. Kinder und Jugendliche</h2>
<p>Die App richtet sich nicht an Kinder unter 13 Jahren; wir erheben wissentlich keine Daten von
Kindern. Eltern können die Löschung über die oben genannte Adresse verlangen.</p>
<h2>7. Sicherheit</h2>
<p>Übertragung zum Spielserver per HTTPS; Zugriffe auf das Notwendige beschränkt.
Replay-Daten enthalten außer der Geräte-ID keine personenbezogenen Inhalte.</p>
<h2>8. Änderungen</h2>
<p>Wir passen diese Erklärung an, wenn sich die App ändert. Maßgeblich ist die hier veröffentlichte
Version; das Datum oben zeigt den Stand.</p>
<hr>
<p class="lang">English</p>
<h1>Privacy Policy — Iron Arc</h1>
<p class="meta">App: <code>de.softwareapp_hb.ironarc</code> · Last updated: 2026-10-24 · v1.0</p>
<p><strong>Controller:</strong> Hadrian Burkhardt, <mark>&lt;address&gt;</mark>,
<a href="mailto:privacy@softwareapp-hb.de">privacy@softwareapp-hb.de</a></p>
<p><strong>Summary.</strong> No account, no name, no e-mail, no contacts, no photos, no GPS.
For online duels we store a randomly generated device id plus match data. Ads are served by
Google AdMob; personalised ads only with your consent, collected before the first ad via Google's
consent tool (UMP). You can change your choice any time under
<strong>gear icon → Privacy options</strong>.</p>
<table>
<tr><th>Data</th><th>Purpose</th><th>Legal basis</th></tr>
<tr><td>Device id (random, not a hardware id)</td><td>Online matches, leaderboard, deletion requests</td><td>Art. 6(1)(b) GDPR</td></tr>
<tr><td>Match metadata, replays, hashes</td><td>Gameplay and anti-cheat (server re-simulates every match)</td><td>Art. 6(1)(b), (f)</td></tr>
<tr><td>Advertising ID, IP address, device/app info</td><td>Advertising (Google AdMob)</td><td>Art. 6(1)(a) consent, (f) for non-personalised</td></tr>
</table>
<p><strong>Not processed:</strong> name, e-mail, phone, contacts, photos, microphone, camera, GPS,
health data, payment data (handled by Google Play).</p>
<p><strong>Recipients:</strong> <mark>&lt;hosting provider&gt;</mark> (game server, EU), Google Ireland
Ltd. / Google LLC (ads, consent). US transfers rely on the EU-US Data Privacy Framework or SCCs.</p>
<p><strong>Retention:</strong> match and replay data 90 days; trophies until season end + 30 days;
device id until requested deletion.</p>
<p><strong>Your rights:</strong> access, rectification, erasure, restriction, portability, objection,
withdrawal of consent, complaint to a supervisory authority. To request deletion, e-mail
<a href="mailto:privacy@softwareapp-hb.de">privacy@softwareapp-hb.de</a> with your device id
(shown under <strong>gear → Ad status</strong>).</p>
<p><strong>Children:</strong> not directed at children under 13.</p>
</body>
</html>
+1 -1
View File
@@ -3,7 +3,7 @@
set -euo pipefail
cd "$(dirname "$0")/../.."
ADB=${ADB:-adb}
PKG=${PKG:-com.ironarc.iron_arc}
PKG=${PKG:-de.softwareapp_hb.ironarc}
if [ "${SKIP_BUILD:-0}" != "1" ]; then
(cd app && flutter build apk --debug --target-platform android-arm64)
fi
+1 -1
View File
@@ -6,7 +6,7 @@
# SurfaceFlinger frame timestamps of the BLAST layer instead.
set -euo pipefail
ADB=${ADB:-adb}
PKG=${PKG:-com.ironarc.iron_arc}
PKG=${PKG:-de.softwareapp_hb.ironarc}
layer=$($ADB shell dumpsys SurfaceFlinger --list 2>/dev/null | tr -d '\r' \
| grep -F 'SurfaceView[' | grep -F "$PKG" | grep -F '(BLAST)#0' | head -1)
if [ -z "$layer" ]; then
+1 -1
View File
@@ -2,7 +2,7 @@
# Launches the app and captures a screenshot sequence for visual review.
set -euo pipefail
ADB=${ADB:-adb}
PKG=${PKG:-com.ironarc.iron_arc}
PKG=${PKG:-de.softwareapp_hb.ironarc}
OUT=${OUT:-/tmp/shots}
COUNT=${1:-3}
DELAY=${2:-3}