Baseflow / Baseflow/flutter-permission-handler

How to request location service?

Open
#963 3 comments 1 reaction 0 assignees View on GitHub
P3 platform: android platform: ios refactor type: enhancement
Dominant language
Dart
Stars
2.2k
Forks
970
Avg merge
14h 22m
Merged PRs (30d)
2

Description

## 🚀 Feature Requests

I'd like to be able to check if the location service is activated, and if it isn't, prompt the user to activate it.

See also:
- [requestService()](https://pub.dev/documentation/location/latest/location/Location/requestService.html) function in [package:location](https://github.com/Lyokone/flutterlocation)

### Contextualize the feature

I'm using permission handler for all permission-related things in my app, but for this one thing (requesting the activation of location service), I have to depend on `package:location`. I'd this feature to be built-in into `permission_handler`.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.