Skip to content

[Bug]: Checking location permission return false? #1691

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

Open
3 of 8 tasks
harryandroiddev opened this issue Apr 22, 2025 · 0 comments
Open
3 of 8 tasks

[Bug]: Checking location permission return false? #1691

harryandroiddev opened this issue Apr 22, 2025 · 0 comments

Comments

@harryandroiddev
Copy link

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

Steps to reproduce

final serviceEnabled = await Geolocator.isLocationServiceEnabled();

This always return false even if the locatin permission is given to the app .

Expected results

Show the correct permission status .

Actual results

Getting the wrong result

Code sample

Code sample
  final serviceEnabled = await Geolocator.isLocationServiceEnabled();

Screenshots or video

Screenshots or video demonstration

[Upload media here]

Version

14.0.0

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.3.1 24D70 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.99.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!
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

No branches or pull requests

1 participant