Skip to content

Missing permissions required by BluetoothAdapter.disable: android.permission.BLUETOOTH_CONNECT [MissingPermission] #159

@LauraKlipfel

Description

@LauraKlipfel

Hello,

When I run the ./gradlew build command I get the following error:

Error: Missing permissions required by BluetoothAdapter.disable: android.permission.BLUETOOTH_CONNECT [MissingPermission] bluetoothAdapter.disable(); ~~~~~~~~~~~~~~~~~~~~~~~~~~

For the command to succeed I add :
@SuppressLint("MissingPermission")

Would it be possible to have the permissions check or the suppressLint in the next release?

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions