

The following code snippet shows how to update your app's manifest file: If location isn't otherwise needed for your app, remove theĪCCESS_FINE_LOCATION permission from your app's manifest. Note: If you include neverForLocation in yourĪndroid:usesPermissionFlags, some BLE beacons are filtered from the scan Permission declaration, and set this attribute's value to neverForLocation. To do so, complete the following steps:Īdd the android:usesPermissionFlags attribute to your BLUETOOTH_SCAN

If your app doesn't use Bluetooth scan results to derive physical location, youĬan make a strong assertion that your app never uses the Bluetooth permissions Strongly assert that your app doesn't derive physical location Permissions in your app if it targets Android 12 or higher: The following code snippet demonstrates how to declare Bluetooth-related These permissions, the system prompts the user to allow your app to access Therefore, you must explicitly request userĪpproval in your app before you can look forīluetooth devices, make a device discoverable to other devices, or communicate The BLUETOOTH_ADVERTISE, BLUETOOTH_CONNECT, and BLUETOOTH_SCAN permissions Otherwise, you can strongly assert that your app doesn't derive

