Skip to content

Warn when deprecated --android-api-level / --ios-version flags are used#3262

Open
proksh wants to merge 3 commits intomainfrom
warn-deprecated-device-flags
Open

Warn when deprecated --android-api-level / --ios-version flags are used#3262
proksh wants to merge 3 commits intomainfrom
warn-deprecated-device-flags

Conversation

@proksh
Copy link
Copy Markdown
Contributor

@proksh proksh commented May 6, 2026

Summary

--android-api-level and --ios-version on maestro cloud are marked @Deprecated and hidden from --help, but were silently accepted with no user-facing feedback. This adds a runtime warning that points users to --device-os.

Test plan

  • maestro cloud --android-api-level=33 ... prints the deprecation warning
  • maestro cloud --ios-version=17.0 ... prints the deprecation warning
  • Runs without either flag are unchanged

Print a runtime warning pointing users to --device-os when either flag
is passed to maestro cloud. Previously the flags were marked deprecated
and hidden from help, but used silently with no feedback.
@proksh proksh requested a review from amanjeetsingh150 May 6, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant