In this case, you must have the following permissions in the manifest file of the app:
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_SCAN" /> <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" /> <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
With whichthis you have the first part resolved, so that it can work correctly, when the user installs the application, he must go to the settings option, applications and search for your app, and then enter it and give him the permission to use the bluethood bluetooth, which is requested for versions of android 12 or higher, additionally, I tell you that there is an option that when it needs to use the plugin, the app requests permission, but I think that you can solve it without a problem.
regards.