Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: location permission returns denied when user selects approximate#1504

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
HasanAlqaisi wants to merge1 commit intoBaseflow:main
base:main
Choose a base branch
Loading
fromHasanAlqaisi:main

Conversation

@HasanAlqaisi
Copy link

@HasanAlqaisiHasanAlqaisi commentedNov 19, 2025
edited
Loading

Issue: On Android 12 (API 31) and higher, users have the option to grant "Approximate" location (Coarse) instead of "Precise" location (Fine). When a user selects "Approximate", the system grants ACCESS_COARSE_LOCATION but denies ACCESS_FINE_LOCATION.

Currently, permission_handler incorrectly reports the status as PermissionStatus.denied in this scenario. This prevents apps from functioning that are capable of working with only approximate location.

It is also reported as anissue here

Expected Behavior: If the user grants "Approximate" location, the permission status should be reported as PermissionStatus.granted, as the app does have access to location data (with lower accuracy).

Pre-launch Checklist

  • I made sure the project builds.
  • I read theContributor Guide and followed the process outlined there for submitting PRs.
  • I updatedpubspec.yaml with an appropriate new version according to thepub versioning philosophy, or this PR is does not need version changes.
  • I updatedCHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with///).
  • I rebased ontomain.
  • 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 randart format . and committed any changes.
  • I ranflutter analyze and fixed any errors.

@KingkanB
Copy link

I want this fix too.

@quyenvsp
Copy link

I can't reproduce the bug. What device are you using? What uses-permission you declared in AndroidManifest.xml?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@HasanAlqaisi@KingkanB@quyenvsp

[8]ページ先頭

©2009-2025 Movatter.jp