rebreak-monorepo/apps/rebreak-native/.maestro/screens/marketing-tour-loggedin.yaml
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

101 lines
2.2 KiB
YAML

# screens/marketing-tour-loggedin.yaml
#
# No-Login-Tour (single-session, tab-basiert, sheet-resilient).
# Voraussetzung: App auf dem Simulator BEREITS eingeloggt.
#
# WICHTIG: Nach Besuch des Blocker-Tabs erscheint das "Schutz ist aus"-Sheet
# (Bypass-Detection auf dem Sim) und blockiert modal alle weiteren Taps.
# Deshalb: alle anderen Tabs ZUERST, Blocker als LETZTES. "Nicht erlauben"
# (Screen-Time-Dialog) + "Später" (Schutz-Sheet) werden überall weggetippt.
# Alle tapOn optional → kein Abbruch. Nur launch/wait/screenshot Pflicht.
appId: org.rebreak.app
---
- launchApp
- waitForAnimationToEnd:
timeout: 6000
- tapOn:
text: "Nicht erlauben"
optional: true
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 1000
# 07 — HOME / FEED
- tapOn:
text: "Home"
optional: true
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 1200
- takeScreenshot: screenshots/07-community
# 04 — COACH / LYRA
- tapOn:
text: "Coach"
optional: true
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 2500
- takeScreenshot: screenshots/04-sos-lyra
# 07b — CHAT / DM
- tapOn:
text: "Chat"
optional: true
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 2000
- takeScreenshot: screenshots/07b-dm
# 06 — MAIL
- tapOn:
text: "Mail"
optional: true
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 2500
- takeScreenshot: screenshots/06-mail-schutz
# 08 — PROFIL / STREAK (Home + Header-Avatar)
- tapOn:
text: "Home"
optional: true
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 1000
- tapOn:
id: "header-avatar-btn"
optional: true
- waitForAnimationToEnd:
timeout: 2500
- takeScreenshot: screenshots/08-streak
# 02 / 03 — BLOCKER (zuletzt; Schutz-Sheet danach wegtippen)
- tapOn:
text: "Blocker"
optional: true
- waitForAnimationToEnd:
timeout: 2000
- tapOn:
text: "Später"
optional: true
- waitForAnimationToEnd:
timeout: 1500
- takeScreenshot: screenshots/02-blocker
- takeScreenshot: screenshots/03-blocked