按照文档写的 使用对的是 vue+cordova 来做混合 APP xcode 报错 : init bluetooth //这是打印台结果 2019-07-05 15:53:08.049122+0800 imatrixh5app[479:118710] [CoreBluetooth] API MISUSE: <CBCentralManager: 0x2827b7880> has no restore identifier but the delegate implements the centralManager:willRestoreState: method. Restoring will not be supported 2019-07-05 15:53:08.050630+0800 imatrixh5app[479:118710] ERROR: {"line":165,"column":20} 2019-07-05 15:53:08.076212+0800 imatrixh5app[479:118710] Error in Success callbackId: BluetoothLePlugin252653612 : TypeError: callback.success.apply is not a function. (In 'callback.success.apply(null, args)', 'callback.success.apply' is undefined)
最后一个报错是一直都碰到的问题,上一个蓝牙插件报错也是这样 返回值 is not a function 上一个插件 android 使用没问题 但是 ios 12.3 连接不上
1
coloz 2019-07-05 18:23:20 +08:00
我用的 cordova-plugin-ble-central,一切正常
|
3
aria955 OP 有人知道吗?
|