Closed george-eucare closed 1 month ago
when execute bleManager.cancelDeviceConnection(device.id), monitorCharacteristicForService callback listener will be invoke.
subscription = monitorCharacteristicForService( serviceUUID, characteristicsUUID, (error) => { console.log(error) } // console error when bleManager.cancelDeviceConnection(device.id), 'xxxID' ) already try cancel and remove before cancelDeviceConnection() bleManager.cancelTransaction('xxxID'); subscription.remove(); _Originally posted by @george-eucare in https://github.com/dotintent/react-native-ble-plx/issues/454#issuecomment-2014542770_
when execute bleManager.cancelDeviceConnection(device.id),
monitorCharacteristicForService callback listener will be invoke.