januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
359 stars 416 forks source link

Bugfix: BT Scan not working for API 29 #133

Open anubhav7495 opened 3 years ago

anubhav7495 commented 3 years ago

Bluetooth Scan is no longer working if an app uses API 29 as compileSdkVersion. Fix is to ask for ACCESS_FINE_LOCATION instead of ACCESS_COARSE_LOCATION.

https://developer.android.com/about/versions/10/privacy/changes#location-telephony-bluetooth-wifi