Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setting a 0 0 coordinate on Android #681

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

filip131311
Copy link
Collaborator

This PR fixes an issue with setting android device GPS coordinates. The command adb emu geo fix that we use to set the location has a bug that causes it to not work when coordinates 0 0 are passed. The fix changes 0 0 to 0.00001 0.00001 instead.

The fix is worthwhile as 0 0 is a natural think to type into the coordinates box when you want to just check is your application responses in any way to the change in location. (this is how the bug was discovered)

How Has This Been Tested:

  • run android emulator
  • open google maps
  • change location to 0 0

Copy link

vercel bot commented Oct 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radon-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 7:59pm

Copy link
Member

@kmagiera kmagiera left a comment

Choose a reason for hiding this comment

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

🤷

@filip131311 filip131311 merged commit 7e30142 into main Nov 4, 2024
4 checks passed
@filip131311 filip131311 deleted the @Filip131311/FixGeoLocationOnAndroid branch November 4, 2024 13:30
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