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

61 lines
1.4 KiB
YAML

# screens/07-community.yaml
#
# Marketing-Screenshot 07: Community-Feed
#
# Ziel: Home-Feed mit ComposeCard + mindestens einigen Posts sichtbar.
# Wichtig: Posts zeigen NUR Spitznamen (Nickname), keine Klarnamen (DSGVO/Stigma-Regel).
# Der Feed muss gefüllt sein — auf Staging sollte der Test-Account Posts sehen.
#
# Screenshot-Strategie: Nach Login direkt auf Home-Feed scrollen bis Community-Posts
# sichtbar sind, dann Screenshot.
#
# Screenshot-Output: screenshots/07-community.png
# Env-Vars: E2E_TEST_USER, E2E_TEST_PASSWORD
appId: org.rebreak.app
---
- launchApp:
clearState: true
- waitForAnimationToEnd:
timeout: 5000
# --- Auth ---
- assertVisible:
text: "E-Mail"
- tapOn:
text: "E-Mail"
- inputText: ${E2E_TEST_USER}@rebreak.internal
- tapOn:
text: "Passwort"
- inputText: ${E2E_TEST_PASSWORD}
- tapOn:
text: "Anmelden"
- waitForAnimationToEnd:
timeout: 10000
- assertVisible:
text: "ReBreak"
# Home-Tab ist Default. Feed liegt direkt unter dem Header.
# Scrollen um Feed-Inhalt sichtbar zu machen (ComposeCard + Posts)
- scrollUntilVisible:
element:
text: "Was bewegt dich gerade?"
direction: UP
timeout: 4000
- assertVisible:
text: "Was bewegt dich gerade?"
# Feed etwas nach unten scrollen damit Posts sichtbar werden
# (ComposeCard ist ganz oben, Posts darunter)
- scroll:
direction: DOWN
duration: 800
- waitForAnimationToEnd:
timeout: 1500
- takeScreenshot: screenshots/07-community