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)
import bluetoothPlugin from '@commoners/bluetooth'
export default {
plugins: [ bluetoothPlugin ]
}
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.