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

Method discoverUnpaired is not working in background apps (android 10) #431

Open
nasasutisna opened this issue Sep 29, 2020 · 4 comments
Open

Comments

@nasasutisna
Copy link

When apps is running background apps, the method discoverUnpaired is not working in android 10. I tried it on Android 8.1, running normally.

Please help, thank you

@WaldiirNeto
Copy link

I have the same problem friend !!

@WaldiirNeto
Copy link

Capturar

only this method that is causing a problem, the capacitor simply kills the bluetooth event and waits for something that has already been killed

@aavelyn
Copy link

aavelyn commented Dec 3, 2020

Hi, we have the same issue with Galaxy Tab A7 and Android 10. Location Permission is granted.
But neither does discoverUnpaired nor setDeviceDiscoveredListener emit any values, while another tablet with android 8 or 9 work fine.

Does anyone has a fix or workaround?

@fappels
Copy link

fappels commented Dec 14, 2020

Most Android 10+ devices also need Manifest.permission.ACCESS_FINE_LOCATION

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

4 participants