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

feat(geolocation): add minimumUpdateInterval parameter for startWatch #2272

Merged
merged 10 commits into from
Dec 6, 2024

Conversation

alexgerardojacinto
Copy link
Collaborator

  • Adds minimumUpdateInterval to PositionOptions so that it can be used when building the LocationRequest for Android on the startWatch feature.
  • Context: We were hardcoding the minimum update interval for location updates to 5 seconds, which meant that if there was an update available in less than 5 seconds, that update would only be delivered after 5 seconds. Instead, this value should be set by the user/developer, so they can better control the frequency of location updates.

Solves: #2062

References: https://outsystemsrd.atlassian.net/browse/RMET-3338

Context: We were hardcoding the minimum update interval for location updates to 5 seconds, which meant that if there was an update available in less than 5 seconds, that update would only be delivered after 5 seconds. Instead, this value should be set by the user/developer, so they can better control the frequency of location updates.

References: https://outsystemsrd.atlassian.net/browse/RMET-3338
geolocation/src/definitions.ts Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Dec 6, 2024

Released dev build of geolocation with dev version: 7.0.0-dev-2272-20241206T174019.0

@alexgerardojacinto alexgerardojacinto merged commit c6ddc53 into main Dec 6, 2024
9 checks passed
@alexgerardojacinto alexgerardojacinto deleted the feat/RMET-3338/min-update-interval branch December 6, 2024 17:42
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.

4 participants