You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this change, we were able to use this library from cordova.plugins.
Additionally, we included a new method in the .java file to directly request permission from the user for the Bluetooth device, which is necessary for it to work from Android version 12 onwards, without needing to go through the "status" method:
In this same method, it would be appropriate for future versions to consider that this permission request system is outdated; it is now recommended to use the ActivityResultLauncher.
The text was updated successfully, but these errors were encountered:
In order to implement this project in Capacitor, we had to make a change to the plugin.xml file:
With this change, we were able to use this library from cordova.plugins.
Additionally, we included a new method in the .java file to directly request permission from the user for the Bluetooth device, which is necessary for it to work from Android version 12 onwards, without needing to go through the "status" method:
In this same method, it would be appropriate for future versions to consider that this permission request system is outdated; it is now recommended to use the ActivityResultLauncher.
The text was updated successfully, but these errors were encountered: