WebBluetooth requiring unneeded permissions
Reported by
morganra...@gmail.com,
Oct 12
|
||||||
Issue descriptionSteps 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."
,
Oct 15
,
Oct 15
@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!
,
Oct 15
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.
,
Oct 15
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
,
Oct 16
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!
,
Oct 17
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 |
||||||
Comment 1 by dtapu...@chromium.org
, Oct 12