Skip to content

Expose precise location coordinates (simctl location / adb emu geo) #94

@thymikee

Description

@thymikee

Location can currently be toggled on/off via settings location on|off. There is no way to set specific coordinates. iOS has xcrun simctl location <device> set <lat> <lon> and Android has adb emu geo fix <lon> <lat>. Map-based, delivery, or location-aware apps need this for deterministic tests.

Proposal: Add a command (e.g. location set <lat> <lon> or extend settings with a location set mode) that:

  • Accepts latitude and longitude (and optionally altitude if supported).
  • On iOS: uses simctl location set.
  • On Android: uses adb emu geo fix (emulator) and document behavior or alternatives for physical devices if any.

Acceptance criteria:

  • Set latitude/longitude (and optionally altitude) for current session device
  • Works on iOS simulator and Android emulator; document physical device support if any
  • Docs and skill updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions