Skip to content

Permission Issu on API-Level 33 #1

@harrypotter06

Description

@harrypotter06

Hello,

with Android 12 (API 31), we had no issues with the Library. Scan for new buttons work fine.
On Android 13 (API 33) we got a error, if scan new Flic2Button:

System.Exception: Need android.permission.BLUETOOTH_CONNECT

This Error is in GattService registerClient.

The App was build für Android 12 (API 31)

In AppManifest i set this permissions:

<uses-permission android:name="android.permission.BLUETOOTH"  />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"  />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"  />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"  />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.INTERNET"/>

I thik is any changes on API 33?
Whats the solution to Fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions