wx.onBluetoothDeviceFound为什么多次搜索后不执行,一开始搜索可以执行?
发布于 7 年前 作者 ycao 12202 次浏览 来自 官方Issues

wx.onBluetoothDeviceFound搜索蓝牙设备,一开始这个是执行的,重复搜索几次这个就不再执行,是什么原因,怎么解决

2 回复

麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

另外,请扫描下图贴一下截图

有同样的问题, 主要在安卓手机上出现.必须在设置里关闭蓝牙再打开才能搜索到设备

回到顶部