在Android下正常,但是在iOS调用wx.startBluetoothDevicesDiscovery报10000错误,但实际上已经调用了openBluetoothAdapter,尝试了多次都是如此,错误截图和iOS版本信息如下
框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | BLE | 微信iOS客户端 | WeChat 8.0.2 | 2.16.0 |
在Android下正常,但是在iOS调用wx.startBluetoothDevicesDiscovery报10000错误,但实际上已经调用了openBluetoothAdapter,尝试了多次都是如此,错误截图和iOS版本信息如下
1 个回答
你好,请参考下文档:
https://developers.weixin.qq.com/miniprogram/dev/api/device/bluetooth/wx.startBluetoothDevicesDiscovery.html
根据错误码进行排查问题。