Open mosor opened 2 years ago
Seems we have to continue this plugin ourselves - or change to Capacitor. Anyone have any experience with Capacitor and their BLE plugin? Or know of a more updated fork to this plugin?
Unfortunately I don't have the time or devices to continue working on this plugin directly, but I'm open to reviewing and hopefully approving pull requests.
Hey its ok @randdusing. You have done a great job with this plugin. Thanks.
I have worked on adding the new runtime permissions, and it does correctly ask for and check for them, but there seems to be issues on Android’s side with pairing peripherals. In the call to connectGatt, there is something logged about not being able to resolve the random private address, which is supposed to be resolved by a key that’s shared during pairing. I’ve tried many different things to try and resolve this issue and there are other people who built custom ble devices that continue not to work with Android 12 phones.
Hey @JesperBalslev and @randdusing, I wanted to give a positive update to this issue. I think updating the plugin to request and check for the new permissions is possible. The issue we had is fixable with a firmware change, so people may want to look at their firmware if they still have issues. I'm happy to help when I have free time since I know @randdusing is busy.
@mosor could you please write a PR or send your patch to me? :) veit@nebulite.berlin
several customers can't scan for their clothing items right now xD
thank you in advance :) <3
Hi.
I've made PR #730
Currently I'm using it in one project and it's working fine.
Hi Guys does this plugin support Android 14? I have tried to test on Android 14 broadcasting but not connecting. If l target API 33 t is working. Your assistance will be much appreciated. Ionic Cordova
This plugin should be updated to work with Android 12's new bluetooth permissions.