Android 6.0 Bluetooth fails to scan the device or flash back. Solution
Android 6.0 Bluetooth fails to scan the device or flash back. Solution
preface:
At present, the company to be is a smart home company. Recently, the customer has feedback that why my mobile phone Bluetooth is also turned on and the device Bluetooth is also turned on. Why can't I scan it? However, after several investigations, the testers of our company haven't found that the device described by the customer can't be scanned, but the problem mentioned by the customer does exist again. After several twists and turns, I found the reason. It turns out that Android 6.0 phones on the market need to add two permissions, which has been explained on the Android official website,
Directly above
The specific authority is clearly stated on the official website
terms of settlement
When Android 6.0 devices access external hardware devices through Bluetooth and Wi Fi scanning, your application needs to add:
ACCESS_ FINE_ LOCATION
perhaps
ACCESS_ COARSE_ LOCATION
Thank you for reading, hope to help you, thank you for your support to this site!