chahinebrini 63fae25531 fix(android-protection): explicit specialUse FGS type — Samsung/Android 16 crash loop
RebreakVpnService.onStartCommand crashed with SecurityException because Android 16's validateForegroundServiceType rejects the implicit 2-arg startForeground(). Now passes FOREGROUND_SERVICE_TYPE_SPECIAL_USE explicitly (Google's documented best practice) and guards the call so a failed foreground promotion stops the service cleanly instead of crashing the app. Verified vs reported Galaxy A54 / Android 16 signature (97% of crash events, 1-user crash loop).

Bundles pending working-tree work across native/marketing/locales/mac + graphify-out rebuild. gitignore: google-services.json + /screenshots/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:33:28 +02:00

86 lines
1.9 KiB
YAML

# screens/capture-05-09-verify.yaml
#
# No-Login: nimmt die zwei fehlenden Marketing-Screenshots (05-breathing,
# 09-geraete) auf UND verifiziert den Protection-Bypass-Fix (Blocker-Tab darf
# das "Schutz ist aus"-Sheet NICHT mehr zeigen).
# Voraussetzung: App auf dem Sim BEREITS eingeloggt. KEIN clearState.
# Jeder Block eigener launchApp → unabhängig + robust.
appId: org.rebreak.app
---
# ── 09 — DEVICES (Settings → Geräte) ──
- launchApp
- waitForAnimationToEnd:
timeout: 6000
- tapOn:
text: "Nicht erlauben"
optional: true
- tapOn:
text: "Später"
optional: true
- tapOn:
id: "header-avatar-btn"
optional: true
- waitForAnimationToEnd:
timeout: 1500
- tapOn:
text: "Einstellungen"
optional: true
- waitForAnimationToEnd:
timeout: 2500
- scrollUntilVisible:
element:
text: "Geräte"
direction: DOWN
timeout: 6000
optional: true
- tapOn:
text: "Geräte"
optional: true
- waitForAnimationToEnd:
timeout: 3000
- takeScreenshot: screenshots/09-geraete
# ── 05 — BREATHING (SOS → Atemübung-Chip → BreathingDrawer) ──
- launchApp
- waitForAnimationToEnd:
timeout: 5000
- tapOn:
text: "Nicht erlauben"
optional: true
- tapOn:
text: "Später"
optional: true
- tapOn:
id: "header-avatar-btn"
optional: true
- waitForAnimationToEnd:
timeout: 1500
- tapOn:
text: "SOS"
optional: true
- waitForAnimationToEnd:
timeout: 12000
- tapOn:
text: "Atemübung"
optional: true
- waitForAnimationToEnd:
timeout: 3500
- takeScreenshot: screenshots/05-breathing
# ── BLOCKER (Fix-Verify: KEIN "Später"-Tap → Sheet würde sichtbar sein) ──
- launchApp
- waitForAnimationToEnd:
timeout: 5000
- tapOn:
text: "Nicht erlauben"
optional: true
- tapOn:
text: "Blocker"
optional: true
- waitForAnimationToEnd:
timeout: 3500
- takeScreenshot: screenshots/zz-blocker-verify