Skip to content

cdp_auto_login

Pre-flight check: detect if the app is on a login/auth screen and auto-login via Maestro subflows from the project. Scans .maestro/subflows/ for login.yaml, sign_in.yaml, auth.yaml, flow_start.yaml, register_user.yaml. Returns { loggedIn: true/false, reason, flow }. Call before proof capture or feature testing when app may be logged out.

NameTypeRequiredDefaultConstraintsDescription
appIdstringNoApp bundle ID override (auto-detected from app.json if omitted)
platform`enum: iosandroid`No
cdp_auto_login()