quick_blue icon indicating copy to clipboard operation
quick_blue copied to clipboard

location permission is always denied.

Open ext-danny opened this issue 3 years ago • 5 comments

When I comment the quick_blue package the permission works as expected but when I use the quick blue plugin, the permission status is always denied and the user won't get the permission dialog too. This issue is for android 12 and above.

ext-danny avatar Jul 30 '22 06:07 ext-danny

You dont need location permission on Android 12+

Sunbreak avatar Jul 31 '22 23:07 Sunbreak

Thanks but I would like to also add that when I run the quick_blue example I can't connect to android 12+ and this is the error I get. Need android.permission.BLUETOOTH_SCAN permission for AttributionSource { uid = 10146, packageName = com.example.quick_blue_example, attributionTag = null, token = android.os.BinderProxy@39e12e, next = null }: GattService registerScanner

ext-danny avatar Aug 01 '22 13:08 ext-danny

BLUETOOTH_SCAN has nothing to do with location on Android 12+


I'm not sure what is connect to android 12+

Do you run quick_blue example as central on Android 12+ device, or run example on another device and trying to connect a perpheral on Android 12+ device?

Sunbreak avatar Aug 04 '22 02:08 Sunbreak

My apologies, I didn't put that right, so basically I tried running the existing quick_blue example on an android 12 device as a central and try to connect to available peripherals. My doubts are

  1. Do we need to add any permission or modify the code or will the example work right out of the box?
  2. What I was expecting from the example is that when I tap on scan I will be able to see list of available Peripherals which I can connect?

ext-danny avatar Aug 04 '22 04:08 ext-danny

I'm busy on https://github.com/woodemi/quick.flutter

I'll leave it open until someone find the answer

Sunbreak avatar Aug 05 '22 11:08 Sunbreak