Closed chrisdueck closed 1 year ago
My proposal to fix https://github.com/kenjdavidson/react-native-bluetooth-classic/issues/252
It seems that unpairDevice should be calling this._nativeModule.unpairDevice(address) rather than this._nativeModule.cancelDiscovery().
unpairDevice
this._nativeModule.unpairDevice(address)
this._nativeModule.cancelDiscovery()
My proposal to fix https://github.com/kenjdavidson/react-native-bluetooth-classic/issues/252
It seems that
unpairDevice
should be callingthis._nativeModule.unpairDevice(address)
rather thanthis._nativeModule.cancelDiscovery()
.