From e6626f0e911c7244e833fca0589d019ca416f64a Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Mon, 13 Apr 2020 19:44:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ios=E7=AB=AF=20uni.onBLEConnectionStateC?= =?UTF-8?q?hange=E4=B8=8D=E8=A7=A6=E5=8F=91=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/app-plus/service/api/device/bluetooth.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/platforms/app-plus/service/api/device/bluetooth.js b/src/platforms/app-plus/service/api/device/bluetooth.js index 8aa0540066..d0c692ca2f 100644 --- a/src/platforms/app-plus/service/api/device/bluetooth.js +++ b/src/platforms/app-plus/service/api/device/bluetooth.js @@ -54,7 +54,6 @@ function bluetoothOn (method, beforeSuccess) { var onBluetoothAdapterStateChange var onBluetoothDeviceFound var onBLEConnectionStateChange -var onBLEConnectionStateChanged var onBLECharacteristicValueChange export function openBluetoothAdapter (data, callbackId) { @@ -89,7 +88,6 @@ export function getConnectedBluetoothDevices (data, callbackId) { export function createBLEConnection (data, callbackId) { onBLEConnectionStateChange = onBLEConnectionStateChange || bluetoothOn('onBLEConnectionStateChange') - onBLEConnectionStateChanged = onBLEConnectionStateChanged || bluetoothOn('onBLEConnectionStateChanged') bluetoothExec('createBLEConnection', callbackId, data) } -- GitLab