openScale icon indicating copy to clipboard operation
openScale copied to clipboard

Bluetooth requires location to be turned on (Mi Smart Scale 2 / OnePlus NordCE 5G)

Open ohsotech opened this issue 1 year ago • 2 comments

Mi Smart Scale 2 requires location to be enabled on OnePlus NordCE 5G. This was not the case a few weeks ago.

If I press the bluetooth icon (or have it enabled to auto turn on) it shows this screen, opens the 'enable location' screen and doesn't turn on bluetooth unless location is already on.

openscale

This should only be required for finding a bluetooth scale for the first time, no? If I click on my already-paired scale in the settings, it opens the same window, with the small difference that it has a 'no' button too.

So seems like a bug?

FAQ info which I believe was mentioned in https://github.com/oliexdev/openScale/issues/887 :

Why do openScale needs permission to the coarse location? The answer is simple because the Android API >= 6.0 needs access to the coarse location to search for Bluetooth devices. The App openScale doesn't read your location at any time. Read the official Android Bluetooth Developer Guide or read the Android 6.0 Changelog for a more technical description.

In android app settings, location is not allowed for openscale. And if I enable location permission, the exact same thing happens. The permission doesn't matter to openscale, only whether location is currently turned on or not.

Of course this could be a OnePlus weirdness

ohsotech avatar Mar 06 '23 10:03 ohsotech

Same issue on LineageOS Redfin device. Very disappointing.

suncoastkid avatar Mar 08 '23 22:03 suncoastkid

Bump. Same issue here on a Samsung device with Android 13. I vaguely remember this having been working before.

0xDB6 avatar Sep 10 '23 09:09 0xDB6