Baseflow / Baseflow/flutter-geolocator

[Bug]: Redmi phone with Android 14+Geolocator.isLocationServiceEnabled(),always returning false

Open
#1,780 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
1.3k
Forks
803
Avg merge
8h 16m
Merged PRs (30d)
1

Description

### Please check the following before submitting a new issue.

- [x] I have searched the [existing issues](https://github.com/baseflow/flutter-geolocator/issues).
- [x] I have carefully [read the documentation](https://github.com/Baseflow/flutter-geolocator/blob/main/geolocator/README.md) and verified I have added the required platform specific configuration.

### Please select affected platform(s)

- [x] Android
- [ ] iOS
- [ ] Linux
- [ ] macOS
- [ ] Web
- [ ] Windows

### Steps to reproduce

As shown in the title, this issue does not exist in Android versions below 13.

### Expected results

Looking forward to fixing the bugs

### Actual results

.

### Code sample

Code sample

```dart
[Paste your code here]
```

### Screenshots or video

Screenshots or video demonstration

[Upload media here]

### Version

geolocator: ^10.1.0

### Flutter Doctor output

Doctor output

```console
[Paste your output here]
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing geolocator 10.1.0 on a Redmi device running Android 14 or later, comparing isLocationServiceEnabled() with Android versions below 13. Read the Android-specific configuration in the geolocator README and trace the Android implementation of that method; done means it reports the actual location-service state on the affected device.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.