Skip to content

GPS is not turned off after getCurrentPosition() #541

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

Closed
strigePC opened this issue Oct 7, 2020 · 0 comments · Fixed by #563
Closed

GPS is not turned off after getCurrentPosition() #541

strigePC opened this issue Oct 7, 2020 · 0 comments · Fixed by #563
Labels
platform: android Issue is related to the Android platform. status: triage Indicates that this issue needs to be analyzed and decorated with the appropriate labels

Comments

@strigePC
Copy link

strigePC commented Oct 7, 2020

Describe the bug
After I check all permissions and whether the service is enabled or not, I call getCurrentPosition(). It returns the Position object as usual. However, the icon in the toolbar that indicates if the GPS service is being used does not disappear.

Expected behavior
The icon on the toolbar should disappear right after the location had been fetched.

Tested on:

  • Android, API Level 28, OnePlus 7T

Version

  • flutter: 1.22.0
  • geolocator: 6.0.0+4

Screenshot
Screenshot_20200610-191631

@mvanbeusekom mvanbeusekom added platform: android Issue is related to the Android platform. status: triage Indicates that this issue needs to be analyzed and decorated with the appropriate labels labels Oct 27, 2020
@mvanbeusekom mvanbeusekom added this to the geolocator_v6.1.2 milestone Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: android Issue is related to the Android platform. status: triage Indicates that this issue needs to be analyzed and decorated with the appropriate labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants