Skip to content

allow location spoofing in the emulator - #216

Merged
dupontgu merged 2 commits into
mainfrom
feat/emu-location
Sep 18, 2026
Merged

dupontgu merged 2 commits into
mainfrom
feat/emu-location

Conversation

@dupontgu

Copy link
Copy Markdown
Contributor

Tools can officially query the SDK server for the user's location (assuming either coarse/fine permission has been granted!).

@dupontgu
dupontgu requested a review from aconanlai September 17, 2026 20:32

@aconanlai aconanlai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! all the doc will be super helpful

* without also requesting COARSE, so we emit both any time a tool declares
* just FINE rather than making every tool remember to list both.
*/
val PERMISSION_IMPLIED_PERMISSIONS: Map<String, List<String>> = mapOf(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread sdk/client/README.md

```bash
# set the default location
curl -X POST "http://localhost:8090/location/default?latitude=37.7749&longitude=-122.4194"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

@dupontgu
dupontgu merged commit 2c74c5a into main Sep 18, 2026
1 check passed
@CJFData

CJFData commented Sep 20, 2026

Copy link
Copy Markdown

I haven't been able to get a successful poll out of this yet from my LPIII but I've implemented the calls into the latest release for when it is available, and keeping an eye on my dashbaord for how to load in keys for signing, are these GPS hooks currently enabled for emu support only?

@dupontgu

Copy link
Copy Markdown
Contributor Author

Yeah sorry! I think those calls get unlocked in the next LightOS release. It's been merged just not released.

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.

3 participants