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 #2271

Closed
wants to merge 7 commits into from

Conversation

alexgerardojacinto
Copy link
Collaborator

@alexgerardojacinto alexgerardojacinto commented Dec 5, 2024

  • 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
@alexgerardojacinto alexgerardojacinto self-assigned this Dec 5, 2024
@alexgerardojacinto alexgerardojacinto changed the title feature(android): add minimumUpdateInterval parameter for startWatch feat(geolocation): add minimumUpdateInterval parameter for startWatch Dec 5, 2024
@alexgerardojacinto alexgerardojacinto deleted the fix/RMET-3338/min-update-interval branch December 5, 2024 10:47
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.

1 participant