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

68 lines
1.5 KiB
YAML

# screens/capture-05-breathing.yaml
# launchApp → Header-Avatar → SOS (Koordinaten-Tap) → 3 Nachrichten an Lyra
# (ab Turn 3 erzwingt System-Hint + Fallback-Chips das "🫁 Atemübung"-Angebot)
# → Atemübung-Chip → BreathingDrawer. KEIN clearState.
appId: org.rebreak.app
---
- 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: 2000
- tapOn:
point: "72%, 22%"
- waitForAnimationToEnd:
timeout: 9000
# ── Turn 1 ──
- tapOn:
text: "Was beschäftigt dich?"
optional: true
- inputText: "Ich bin gerade sehr gestresst und der Druck ist groß"
- tapOn:
id: "sos-send-btn"
optional: true
- waitForAnimationToEnd:
timeout: 11000
# ── Turn 2 ──
- tapOn:
text: "Was beschäftigt dich?"
optional: true
- inputText: "Es fällt mir gerade schwer, dem Drang zu widerstehen"
- tapOn:
id: "sos-send-btn"
optional: true
- waitForAnimationToEnd:
timeout: 11000
# ── Turn 3 ──
- tapOn:
text: "Was beschäftigt dich?"
optional: true
- inputText: "Ich brauche jetzt Hilfe, um runterzukommen"
- tapOn:
id: "sos-send-btn"
optional: true
- waitForAnimationToEnd:
timeout: 11000
- takeScreenshot: screenshots/05b-chips
- tapOn:
text: "Atemübung"
optional: true
- waitForAnimationToEnd:
timeout: 4000
- takeScreenshot: screenshots/05-breathing