-
Notifications
You must be signed in to change notification settings - Fork 305
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
Android 6.0 not in LeScanCallback #17
Comments
Have you granted your app the runtime permissions? |
Yes
|
I have set in the AndroidManifest.xml |
Good point. Does the sample app work for you? Also, what device are you using? Does it support BTLE? |
The app in play store is OK, my device is SONY Z5 |
@WeberHsu Android 6.0 need to increase the "ACCESS_COARSE_LOCATION" permissions, and obtained the permission to ensure it |
@wdh-1025 Good point. That is the solution for 6.0+. |
In Android 6.0 appear information log below:
D/BluetoothAdapter: startLeScan(): null
And the program not in LeScanCallback (onLeScan), what's wrong with it ?
thanks~
The text was updated successfully, but these errors were encountered: