-
-
Notifications
You must be signed in to change notification settings - Fork 709
Altitude reported incorrectly on Android. iPhone is correct. #831
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
Comments
Have not got to the geolocation Java code yet - taking a while to find. Although it appears geolocation is using this method SO describes one solution using The NMEA strings directly from the GPS |
Just seen this Geolocation PR - |
Any thoughts on this? Thanks! |
I understand that folks are busy. If this is being worked on and may emerge in the future, or if it never will be? Any information would be great, as this would be a very useful feature. Thanks. |
Hi @nicolasjon, Sorry for not replying sooner. I am indeed working on fitting in the NMEA solution, however I would like to do it in a way so that we don't get a lot of no-operation methods on iOS, macOS and the web. I am updating the architecture of the geolocator plugin to allow having additional platform specific classes available which could contain functions such as NMEA which are only supported on that particular platform. So in other words this will become available in the near future, however not sure on an exact E.T.A. yet. |
I understand. Thank you very much for the update. |
🐛 Bug Report
Expected behavior
Altitude to be reported the same or at least very close(!) for Android and iPhone.
Reproduction steps
Loaded app on to Android and iPhone tested app in several different places on both devices simultaneously, giving GPS plenty of time to settle.
The iPhone gave a "correct" altitude result verified by local maps. The Android phone was consistently 50 or more metres high. Locations very close as expected, the two phones where side by side.
Android and iPhone screen shots attached.
Configuration
Android Nexus 5 (Android 10)
iPhone 7 (iOS 14.7.1)
Version:
geolocator: 7.6.0
Platform:
The text was updated successfully, but these errors were encountered: