For AI agents: the complete documentation index is available at ../../../llms.txt, the full documentation bundle is available at ../../../llms-full.txt, and this page is available as Markdown at ../../../quality/scripts/subflows/dismiss-dev-overlays.md.

subflows/dismiss-dev-overlays.yaml

Source

appId: ${APP_ID}
---
# Debug build only: React Native's LogBox puts a warning / error toast at the bottom of the screen,
# and a red "Uncaught Error" sheet can cover the app. Dismiss what is there so the next tap lands on the app.
# Every step is optional: the Release app shows none of this, and a Debug run often shows nothing either.
- runFlow:
    when:
      visible: "Dismiss"
    commands:
      - tapOn: "Dismiss"
- runFlow:
    when:
      visible: "Minimize"
    commands:
      - tapOn: "Minimize"