不能调用wx.openBluetoothAdapte?
发布于 6 年前 作者 dluo 6985 次浏览 来自 官方Issues

无法调用wx.openBluetoothAdapter 。

引入http://res.wx.qq.com/open/js/jweixin-1.2.0.js

使用wx.agentConfig签名 提示42012错误

{"errMsg":"openBluetoothAdapter:ticket no available more info at https://open.work.weixin.qq.com/devtool/query?e=42012 maybe not added to jsapilist in wx.config"}

引入 https://res.wx.qq.com/wwopen/js/jsapi/jweixin-1.0.0.js

使用wx.agentConfig签名 ,就提示40093错误

{"errMsg":"openBluetoothAdapter:invalid signature more info at https://open.work.weixin.qq.com/devtool/query?e=40093 maybe not added to jsapilist in wx.config"}

如果使用wx.config签名就提示 wx.config is not a function 使用 jweixin.config 也同样 is not a function

使用wx.checkJsApi 显示是ok的

求解答

回到顶部