Skip to content

[geolocator] Report altitude accuracy, vertical speed and stream speed/heading/accuracy - #1193

Open
seungsoo47 wants to merge 2 commits into
flutter-tizen:mainfrom
seungsoo47:upstream-plugins-geolocator-vertical-speed
Open

seungsoo47 wants to merge 2 commits into
flutter-tizen:mainfrom
seungsoo47:upstream-plugins-geolocator-vertical-speed

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

Fill Position fields that Tizen always reported as unavailable.

  • altitudeAccuracy: the vertical accuracy (m) from location_manager_get_last_location, for the last known position.
  • verticalSpeed: the climb value converted from km/h to m/s, for the current and last known positions.
  • speed, heading, accuracy for the position stream: the stream used location_manager_set_position_updated_cb, whose callback only carries latitude, longitude, altitude and timestamp, so hasSpeed, hasHeading and hasAccuracy were always false. It now uses location_manager_set_location_changed_cb (Tizen 2.4+), which also carries speed (km/h, converted to m/s), direction and horizontal accuracy, with the same interval.

Also bumps geolocator_platform_interface to ^4.4.0 (needed for verticalSpeed) and the package version to 1.1.0.

Upstream:

Integration tests are added for the new fields on the current position, the last known position and the position stream.

Fill the Position fields that were always reported as unavailable on Tizen.

- altitude_accuracy: the vertical accuracy (m) from
  location_manager_get_last_location.
- vertical_speed: the climb value converted from km/h to m/s, for both the
  last known and the current position.

Upstream:
- Baseflow/flutter-geolocator#1799
  (geolocator_platform_interface 4.4.0, vertical_speed)
- Baseflow/flutter-geolocator#1793
  (geolocator_platform_interface 4.3.0, has* flags for altitude_accuracy)
The position stream used location_manager_set_position_updated_cb, whose
callback only carries latitude, longitude, altitude and timestamp. So
every streamed Position had hasSpeed, hasHeading and hasAccuracy false.

Switch to location_manager_set_location_changed_cb (Tizen 2.4+), which
also carries speed (km/h, converted to m/s), direction and horizontal
accuracy, with the same interval.

Upstream: geolocator_platform_interface Position fields
(Baseflow/flutter-geolocator#1793,
Baseflow/flutter-geolocator#1799).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T02:11:44.454346Z 208869b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 208869b9ee

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/geolocator/tizen/src/location_manager.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant