@commoners/bluetooth
v0.0.52
Published
A plugin for connecting to Bluetooth Low Energy devices across **all platforms** using the [Web Bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API) (web, desktop) or Capacitor's `@capacitor-community/bluetooth-le` plugin (we
Downloads
120
Readme
@commoners/bluetooth
A plugin for connecting to Bluetooth Low Energy devices across all platforms using the Web Bluetooth API (web, desktop) or Capacitor's @capacitor-community/bluetooth-le
plugin (web, desktop, mobile)
Usage
import bluetoothPlugin from '@commoners/bluetooth'
export default {
plugins: [ bluetoothPlugin ]
}
Mobile Support
To use the BLE plugin on mobile, you must:
- Implement your Bluetooth code using the
@capacitor-community/bluetooth-le
package. - Explicitly include the
@capacitor-community/bluetooth-le
package in your project.