Session Won’t Start
Symptoms
revyl device startfails or hangs.revyl device infosays no active session.
Checks
- Confirm auth:
revyl auth status - Confirm active sessions:
revyl device list - Retry with explicit platform:
revyl device start --platform ios - If the project uses
before_session, confirm you are in (or under) the directory that owns.revyl/config.yaml, the script is executable, and it exits 0. A mint failure aborts start before the device boots — see Auth And Session Prep.
App Starts Logged Out
Symptoms
- Session boots, but the app shows a sign-in screen instead of the authenticated
state your
auth_bypassconfig should produce.
Checks
- Confirm cwd resolves the project that declares
before_session/auth_bypass(monorepo:cdinto the app directory that owns.revyl/). - Re-run start so
before_sessionremints; launch env is fixed at boot. - If you rely on org launch variables only (no
before_session), refresh those tokens — they expire independently of the session. - Deep-link placeholders must come entirely from
before_sessionor entirely from org vars; a mix fails at setup. Full contract: Auth Bypass Deep Links.
App Install or Launch Fails
Symptoms
installfails for app URL.launchfails with bundle ID errors.
Checks
- Verify build URL is reachable and points to APK/IPA.
- Re-run install and read returned bundle ID.
- Launch with exact bundle ID returned by install.
Grounded Target Misses
Symptoms
tap --targethits wrong location.type --targetfocuses wrong field.
Fixes
- Re-observe current UI:
revyl device screenshot --out debug.png - Use visible text in target:
--target "the 'Sign In' button" - If needed, fall back to raw coordinates (
--x,--y) for this step.
Actions Stop Working Mid-run
Symptoms
- Commands begin failing after earlier success.
- Session seems stale.
Fixes
- Confirm the session is still active:
revyl device list - Switch explicitly:
revyl device use <index> - If timed out, start a new session and continue.
Screenshot or Viewer Issues
Symptoms
- Screenshot command fails.
- Live viewer appears frozen.
Fixes
- Run
revyl device infoand confirmviewer_url. - Re-run
revyl device screenshot --out current.png. - Stop and restart session if the device session became unhealthy.