
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
bluetooth-simple-android-plugin
Advanced tools
Capacitorjs plugin to use the bluetooth adapter of an android device. simply and direct / Complemento Capacitorjs para usar el adaptador bluetooth de un dispositivo Android. simple y directo
Capacitorjs plugin to use the bluetooth adapter of an android device. simply and direct / Plugin de Capacitorjs para usar el adaptador bluetooth de un dispositivo Android. simple y directo
npm install bluetooth-simple-android-plugin
npx cap sync
Para utilizar este plugin se necesita activar los siguientes permisos en el archivo manifest / To use this plugin you need to activate the following permissions in the manifest
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Simplemente importe la clase. Luego puede utilizar sus metodos estáricos directamente. Simply import the class. Afther, you can use its static methods directly.
import { BluetoothSimple } from 'bluetooth-simple-android-plugin';
setName(options: { name: string; }) => any
Cambia el nombre del dispositivo. Change the name of device.
Param | Type | Description |
---|---|---|
options | { name: string; } | Nombre que queires cambiar. Name that you want to change. |
Returns: any
startDiscovery(callback: MyPluginCallback) => void
Activa la detección de los dispositivos visibles. Cada vez que se detecta un nuevo dispositivo se lanza la funcion callback pasada por parámetros. Activate the detection of visible devices. For each new device is detected, is throw the callback function passed by params.
Param | Type | Description |
---|---|---|
callback | (message: MyData | null, err?: any) => void | Función que se ejecutará segun se vayan descubriendo los dispositivos. |
setDiscoverable() => any
Activa el estado de ser detectado del dispositivo. Activate the state of to be detected of device.
Returns: any
FAQs
Capacitorjs plugin to use the bluetooth adapter of an android device. simply and direct / Complemento Capacitorjs para usar el adaptador bluetooth de un dispositivo Android. simple y directo
The npm package bluetooth-simple-android-plugin receives a total of 1 weekly downloads. As such, bluetooth-simple-android-plugin popularity was classified as not popular.
We found that bluetooth-simple-android-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.