home-assistant / home-assistant/android

Bluetooth permission should only be requested when needed for location sensor

Open
#5,931 4 comments 0 reactions 1 assignee Claimed by @TimoPtr View on GitHub
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

### Description

Today we are asking for Bluetooth permission when we want to enable the LocationSensors. Without this we are disabling the sensor.

Bluetooth in location tracking is only used for high accuracy tracking with some condition like being connected to a given device.

We should be able to enable the location without asking for Bluetooth permission. This would make one less popup during the onboarding of a user. Also the location should continue to work even if the user denied Bluetooth permission.

### Additional context

_No response_

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.