提交 e6626f0e 编写于 作者: 雪洛's avatar 雪洛

fix: ios端 uni.onBLEConnectionStateChange不触发的bug

上级 11ad89d6
......@@ -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)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册