New issue
Advanced search Search tips

Issue 894697 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 17
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

WebBluetooth requiring unneeded permissions

Reported by morganra...@gmail.com, Oct 12

Issue description

Steps to reproduce the problem:
1. Goto one of Chrome WebBluetooth examples
https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true
2. Click "Get Bluetooth Device Info"

What is the expected behavior?
The device scan results to appear showing nearby Bluetooth devices.

What went wrong?
A dialog stating "Chrome needs location access to scan for devices." Clearly anyone who's worked with BLE for even a moment knows this is not the case. Why all of the sudden is being required?

Did this work before? Yes Unsure

Chrome version: 64.0.3276.0  Channel: stable
OS Version: 7.1.1
Flash Version: 

If nothing else, the dialog should read. "Google wants you location in exchange for scanning for devices."
 
Components: Blink>Bluetooth
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Labels: Needs-Feedback Triaged-Mobile
@morganrallen: Unable to reproduce this issue using latest stable #69.0.3497.100, navigated to https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true ,and not seeing any permission for location access.

Could you please check the issue on latest stable and let us know if this is still seen. If issue is reproducible please provide screencast. This would help in further triaging. 

Thanks!
Screenshot_20181015-152427.png
248 KB View Download
Yes this issue persists in the latest stable. I suspect you've already accepted Location Permissions from Chrome.

If you disable Location Permission I think you will be prevented from scanning.

Settings -> Apps -> [Gear Icon] -> App Permissions -> Location

Uncheck Chrome and try again.
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 15

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Mobile>Location
Labels: -Type-Bug-Regression Target-70 Target-71 Target-72 M-72 FoundIn-71 FoundIn-70 FoundIn-72 Target-69 FoundIn-69 Type-Bug
Status: Untriaged (was: Unconfirmed)
Tested the issue in Android and able to reproduce the issue. 

Steps Followed:
1. Opened chrome, Navigated to https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true
2. Clicked "Get Bluetooth Device Info" -- Chrome needs location access to scan for devices message is seen 

Chrome versions tested:
60.0.3112.113, 69.0.3497.100, 72.0.3581.2 (latest canary)

OS:
Android 9.0.0

Android Devices:
Pixel 2 XL

Issue is seen in latest from older M-60 builds, hence considering this issue as Non-Regression and marking as Untriaged.

Please navigate to below link for log's  --
go/chrome-androidlogs/894697

Thanks!
Status: WontFix (was: Untriaged)
Android requires the location permission in order to be able to scan for Bluetooth devices. This is because a Bluetooth scan can be used to figure out the location of the user. See: https://developer.android.com/guide/topics/connectivity/bluetooth#Permissions

I'm closing this as WontFix since this is the intended behavior.

Sign in to add a comment