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

NmeaClient: check ACCESS_FINE_LOCATION permission #1522

Closed
wants to merge 1 commit into from
Closed

NmeaClient: check ACCESS_FINE_LOCATION permission #1522

wants to merge 1 commit into from

Conversation

SebastianKeller
Copy link
Contributor

@SebastianKeller SebastianKeller commented May 29, 2024

locationManager.addNmeaListener() requires the ACCESS_FINE_LOCATION permission. With only reduced locations enabled this would cause an exception.

Fixes #1520
Fixes #1515

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.

`locationManager.addNmeaListener()` requires the ACCESS_FINE_LOCATION
permission. With only reduced locations enabled this would cause an
exception.
@SebastianKeller SebastianKeller closed this by deleting the head repository Jul 3, 2024
@matijakevic
Copy link

@SebastianKeller Hey, was there a reason this wasn't merged? I am still encountering those errors on some devices.

@SebastianKeller
Copy link
Contributor Author

SebastianKeller commented Jul 9, 2024

@matijakevic
My bad, i've deleted my repository. Didn't expect that would automatically close this PR.

@SebastianKeller
Copy link
Contributor Author

Sorry for the troubles.
#1540

@matijakevic
Copy link

Thank you for restoring it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants