capacitor-community / bluetooth-le

Capacitor plugin for Bluetooth Low Energy
MIT License
274 stars 79 forks source link

fix: Fix isssue on callbacks execution order #635 #637

Closed lhd-biosency closed 5 months ago

lhd-biosency commented 5 months ago

Create a unique thread to execute callbacks and fix issue on callbacks execution order #635

lhd-biosency commented 5 months ago

@pwespi Could we get a version with this fix? Thank you

corentin35000 commented 5 months ago

@pwespi I really need this new version too please!

pwespi commented 5 months ago

Thank you for the contribution!

Note the the API to set the custom handler is only available from API level 26. I added the version check.

pwespi commented 5 months ago

@all-contributors please add @lhd-biosency for code

allcontributors[bot] commented 5 months ago

@pwespi

I've put up a pull request to add @lhd-biosency! :tada:

pwespi commented 5 months ago

This has been released with version 3.1.3.