Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth not work in Android 13 #879

Open
Pedro-Serer opened this issue Jul 10, 2024 · 2 comments
Open

Bluetooth not work in Android 13 #879

Pedro-Serer opened this issue Jul 10, 2024 · 2 comments

Comments

@Pedro-Serer
Copy link

I'm called Pedro and i'm using the package flutter_reactive_ble but i'm have some problems.

The package not work in versions above the Android 12.

Firstly i had problems of permissions with the package. Then i changed my manifest file implementing the line:

image

The permission problem has stopped but now i have other problem. My Bluetooth start, scan but not connect... What i can make for this to work?

My function:

image

The application was supposed to request these permissions as soon as the APP starts

@keval-devani
Copy link

@Pedro-Serer please add BLUETOOTH_CONNECT permission in android manifest for Android API 31+.

<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />

See here

@Pedro-Serer
Copy link
Author

Pedro-Serer commented Jul 15, 2024

@keval-devani these are my permissions that were already in the manifest file:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants