NathanaelA / nativescript-permissions

Wraps up the entire Android 6 permissions system in a easy to use plugin.
MIT License
46 stars 22 forks source link

Added Android 12 bluetooth permissions #51

Closed forgm closed 2 years ago

forgm commented 2 years ago

Added BLUETOOTH_SCAN, BLUETOOTH_ADVERTISE, to the list of permissions, BLUETOOTH_CONNECT already exists under BLUETOOTH. If an app targets Android 12 (API level 31) or higher, in the manifest file it should declare BLUETOOTH_SCAN when the app scans for Bluetooth devices, and BLUETOOTH_ADVERTISE if the app makes the current device discoverable to other devices. The BLUETOOTH_SCAN, BLUETOOTH_ADVERTISE, and BLUETOOTH_CONNECT permissions are runtime permissions

Android Developer - Bluetooth permissions