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

x/mobile/exp/sensor: geolocation #13695

Open
porjo opened this issue Dec 20, 2015 · 7 comments
Open

x/mobile/exp/sensor: geolocation #13695

porjo opened this issue Dec 20, 2015 · 7 comments
Labels
mobile Android, iOS, and x/mobile
Milestone

Comments

@porjo
Copy link

porjo commented Dec 20, 2015

Add to x/mobile the ability to retrieve current latitude/longitude from e.g. GPS. (Relates to #9330)

@rakyll rakyll changed the title x/mobile: geolocation x/mobile/exp/sensor: geolocation Dec 23, 2015
@rakyll
Copy link
Contributor

rakyll commented Dec 23, 2015

The feature request may fit in the responsibilities of the sensor package but there are two nitpicks:

  • Sensor package is event driven, will push lat/lon changes rather than returning the last known location. I am not sure if this is the desired API for location data.
  • Location data retrieval can be configured with various filters on both platforms, e.g. distance filters, precision levels (gps-only or gps- or network-based location). We need a API surface.

/cc @crawshaw @hyangah

@rakyll rakyll added this to the Unreleased milestone Dec 23, 2015
@jpillora
Copy link

👍 GPS API

@Oregon-Tech-Ninja
Copy link

Oregon-Tech-Ninja commented Oct 10, 2016

Is there any work on this? I have geolocation needs and would prefer to stay in Go. It wouldn't be that hard to create an API for this one feature would it? If there is no work on it, I'll have to just bind my Go, which isn't what I'd like to do.

@bwmarrin
Copy link

Same boat here as @Oregon-Tech-Ninja and would love to see GPS in Go :). @Oregon-Tech-Ninja did you find an alternate solution you can share by any change?

@Oregon-Tech-Ninja
Copy link

Oregon-Tech-Ninja commented Jan 26, 2017 via email

@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Jul 20, 2017
@cornfeedhobo
Copy link

This would be amazing

@ErrorNoInternet
Copy link

Would have to wait for #50104 to be added I guess, since manually enabling location permissions in the settings would be a bit weird... Has anyone found any solutions/bindings yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

8 participants