Baseflow / Baseflow/flutter-geolocator

Get service status by location mode

Open
#628 1 comment 2 reactions 0 assignees View on GitHub
P2 platform: android refactor type: enhancement
Dominant language
Dart
Stars
1.3k
Forks
803
Avg merge
8h 16m
Merged PRs (30d)
1

Description

## 🚀 Feature Requests

Get the **Geolocator.isLocationServiceEnabled()** in the location modes, (High Precision, Battery Saver, Device Only).

### Contextualize the feature
Android devices have location modes **(High Precision, Battery Saver, Device Only)**, I know that the package has precision modes but not location modes.
Is it possible that in the future the location can be obtained by the different location mode?

### Describe the feature
Greetings, I am currently using this excellent package, but in my application I launch a progress dialog in the event that the location service is not active. The **Geolocator.isLocationServiceEnabled()** throws me a true response if the service is active and in the same way if it is not active it throws the false one, but this only in Device Mode, if I change the location mode and disable the location service from the android box keeps throwing me a real one. I did not want to mark it as a problem because I think it is not a problem as such, thank you for offering this excellent package.

### Platforms affected (mark all that apply)
- [ ] :iphone: iOS
- [x] :robot: Android

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Android implementation of Geolocator.isLocationServiceEnabled() and how it handles High Precision, Battery Saver, and Device Only modes. Clarify the intended API and platform behavior, then verify that the reported service status matches the selected Android location mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.