#subflows/dismiss-dev-overlays.yaml
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"