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>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
# screens/01-onboarding.yaml
|
|
#
|
|
# Marketing-Screenshot 01: Onboarding / Willkommen
|
|
#
|
|
# Ziel: Der erste Onboarding-Screen (welcome-Step) — ruhiger Einstieg, kein Login-Formular.
|
|
#
|
|
# Strategie: clearState entfernt Auth-Session UND MMKV-State. Wenn der Test-Account
|
|
# onboardingStep='done' hat, landet er direkt im Auth-Screen (signin.tsx), nicht im
|
|
# Onboarding-Wizard. Für einen echten Onboarding-Welcome-Screen braucht man einen
|
|
# frischen Account mit onboardingStep='welcome'.
|
|
#
|
|
# Fallback: Wir landen auf dem Sign-in-Screen — der ist der tatsächliche "erste Blick"
|
|
# für neue Nutzer und zeigt schon das Rebreak-Branding sauber. Er dient hier als
|
|
# Onboarding-Äquivalent bis ein Reset-API-Endpunkt verfügbar ist.
|
|
#
|
|
# Screenshot-Output: screenshots/01-onboarding.png
|
|
# Env-Vars: keine (kein Login nötig)
|
|
|
|
appId: org.rebreak.app
|
|
---
|
|
- launchApp:
|
|
clearState: true
|
|
|
|
- waitForAnimationToEnd:
|
|
timeout: 6000
|
|
|
|
# Sign-in Screen ist der erste Screen für neue User.
|
|
# Wir prüfen ob wir direkt auf dem Auth-Screen sind (clearState = kein Token).
|
|
- assertVisible:
|
|
text: "E-Mail"
|
|
|
|
# Auf Marketing-Screenshot warten wir extra lang damit alle Animationen/Fonts laden
|
|
- waitForAnimationToEnd:
|
|
timeout: 2000
|
|
|
|
- takeScreenshot: screenshots/01-onboarding
|