Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location permission is always denied. #124

Open
ext-danny opened this issue Jul 30, 2022 · 5 comments
Open

location permission is always denied. #124

ext-danny opened this issue Jul 30, 2022 · 5 comments

Comments

@ext-danny
Copy link

ext-danny commented Jul 30, 2022

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.

@Sunbreak
Copy link
Collaborator

You dont need location permission on Android 12+

@ext-danny
Copy link
Author

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

@Sunbreak
Copy link
Collaborator

Sunbreak commented Aug 4, 2022

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?

@ext-danny
Copy link
Author

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?

@Sunbreak
Copy link
Collaborator

Sunbreak commented Aug 5, 2022

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

I'll leave it open until someone find the answer

@Sunbreak Sunbreak reopened this Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants