ios 13.5企业微信,在页面中初始化蓝牙模块,失败。 安卓是好使的

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:08 844 0 全屏看文

AI助手支持GPT4.0

ios 13.5企业微信,在页面中初始化蓝牙模块,失败。 安卓是好使的
<script src="http:/es.wx.qq.com/open/js/jweixin-1.2.0.js"></script>wx.openBluetoothAdapter({    success: function (res) {        console.log('初始化蓝牙适配器成功')        //页面日志显示        alert("初始化蓝牙适配器成功");    },    fail: function (res) {        console.log('请打开蓝牙和定位功能')        alert("请打开蓝牙和定位功能");    }})通过jsp页面点击事件调用的方式,安卓是好使的。 ios13.5版本走了fail: 。本人小白,求大佬指条明路。

wx.openBluetoothAdapter ({ success: function (res) { console.log ('bluetooth adapter initialization succeeded ') / / the page log shows an alert, fail: function (res) { console.log (please turn on Bluetooth and location function) alert (please turn on Bluetooth and location function);} Android is easy to use by clicking event on JSP page. Ios13.5 failed. I, Xiaobai, please point out the way.

回答:

企业微信运营专员-千夜:

您好,初始化蓝牙失败是有什么报错呢,能否提供截图看下

-EOF-

AI助手支持GPT4.0