Skip to content

feat(android): support max update age setting#1785

Open
josh-burton wants to merge 1 commit into
Baseflow:mainfrom
josh-burton:fix-1784-android-max-update-age
Open

feat(android): support max update age setting#1785
josh-burton wants to merge 1 commit into
Baseflow:mainfrom
josh-burton:fix-1784-android-max-update-age

Conversation

@josh-burton

Copy link
Copy Markdown
Contributor

Fixes #1784

Add AndroidSettings maxUpdateAge serialization and pass it through to the Android Fused Location Provider request options.

Add tests covering maxUpdateAge parsing and JSON output.

Replace this paragraph with a short description of what issue this pull request (PR) solves and provide a description of the change. Consider including before/after screenshots.

List at least one fixed issue.

Pre-launch Checklist

  • I made sure the project builds.
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I rebased onto main.
  • I added new tests to check the change I am making, or this PR does not need tests.
  • I made sure all existing and new tests are passing.
  • I ran dart format . and committed any changes.
  • I ran flutter analyze and fixed any errors.

Add AndroidSettings maxUpdateAge serialization and pass it through to the Android Fused Location Provider request options.

Add tests covering maxUpdateAge parsing and JSON output.
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.

[Android] Expose LocationRequest maxUpdateAgeMillis so getPositionStream can deliver an initial historical location

1 participant