react-native-ble-manager
Advanced tools
Comparing version 7.4.0 to 7.4.1
@@ -115,3 +115,6 @@ declare module "react-native-ble-manager" { | ||
export function createBond(peripheralID: string): Promise<void>; | ||
export function createBond( | ||
peripheralID: string, | ||
peripheralPin: string | ||
): Promise<void>; | ||
export function removeBond(peripheralID: string): Promise<void>; | ||
@@ -118,0 +121,0 @@ export function getBondedPeripherals(): Promise<Peripheral[]>; |
{ | ||
"name": "react-native-ble-manager", | ||
"version": "7.4.0", | ||
"version": "7.4.1", | ||
"description": "A BLE module for react native.", | ||
@@ -5,0 +5,0 @@ "main": "BleManager", |
@@ -544,5 +544,5 @@ # react-native-ble-manager | ||
### createBond(peripheralId) [Android only] | ||
### createBond(peripheralId,peripheralPin) [Android only] | ||
Start the bonding (pairing) process with the remote device. | ||
Start the bonding (pairing) process with the remote device. If you pass peripheralPin(optional), bonding will be auto(without manual entering pin) | ||
Returns a `Promise` object. The promise is resolved when either `new bond successfully created` or `bond already existed`, otherwise it will be rejected. | ||
@@ -549,0 +549,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
195646
498