docs(mobile): run the app in another language with launch arguments

Merged
KA
6d ago
+39-1

What and why

  • docs/mobile.mdx gets a short recipe: on iOS, -AppleLanguages (fr) -AppleLocale fr_FR in app.launchArguments opens the app in French for that launch, one target per language. Android has no such argument.
  • The Appium guide's appium:language/appium:locale row said "Not yet" and the Detox guide had no languageAndLocale row; both now point at the recipe. The setup reference in skills/e2e gets the same line.

Issue

None (docs change)

Verified

Ran it locally: yes

  • Scratch target on Settings (com.apple.Preferences) with those arguments, iPhone 17 Pro iOS 26.3 simulator: expect(screen.getByText('Général')).toBeVisible() passes. The same test without the arguments fails, so the language doesn't stick between launches.
  • pnpm build, pnpm check, and the skill unit test pass.

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.