- 部分Android机型无法使用wx.openBluetoothAdapter接口?
Android机型调用wx.openBluetoothAdapter提示 {"errno":3,"errMsg":"openBluetoothAdapter:fail:system permission denied"}。蓝牙、gps等权限都是开启的,必须要到手机的附近设备手动开启吗? 有没有接口可以获取 ”附近设备“ 的状态,这个问题已经2~3年了,还没有解决,客诉已经严重影响终端客户使用了。
06-03 - 蓝牙BLE writeBLECharacteristicValue 写入失败?
iQOO neo8 BLE蓝牙通讯,每次都会报错,都需要重新开关蓝牙才能恢复正常,帮忙分析下是什么原因? {"errno":1500104, "errCode": 10008, "errMsg".:"writeBLECharacteristicValue:fail:system error, writeCharacteristic fail"} [图片] // BLE 写入数据 wrireBLECharacteristicValue(value, deviceID, success, fail) { if (!deviceID || !deviceID.length) { deviceID = this.deviceId; } console.log("向蓝牙发送的数据 " + app.Util.arrayBufferToArray(value)); wx.writeBLECharacteristicValue({ deviceId: deviceID, serviceId: SERVICE_UUID, characteristicId: CHARACTERISTIC_UUID, writeType: 'write', value: value, success: success, fail: fail }); }, 已上传本地日志: 手机机型: iQOO neo8 微信号:qygandr 时间点:2024年9月23日 17:50 ~ 18:20
2024-09-23 - getAppAuthorizeSetting 不同Android机型差异性问题?
const appAuthorizeSetting = wx.getAppAuthorizeSetting() console.warn("蓝牙授权状态:" + appAuthorizeSetting.bluetoothAuthorized) console.warn("地理位置授权状态:" + appAuthorizeSetting.locationAuthorized) console.warn("精准定位状态: " + appAuthorizeSetting.locationReducedAccuracy) console.warn("setting >>>>>" + JSON.stringify(appAuthorizeSetting)); // 华为鸿蒙系统表现和其他Android机型表现不一样 // 华为鸿蒙系统 微信授权都正常的情况下。会有 bluetoothAuthorized 字段,但是字段值都是 ‘denied’ // 别的Android手机 没有 bluetoothAuthorized 字段 // 请保持一致 如果要保留 bluetoothAuthorized 字段请确保场景真实。 if (appAuthorizeSetting.bluetoothAuthorized == 'denied') { wx.showModal({ content: '请开启微信获取蓝牙功能权限', showCancel: false, title: '提示', success: (result) => { } }) return } 鸿蒙: [图片] 小米: [图片]
2024-08-01 - 小程序API wx.getAppAuthorizeSetting() 返回值异常?
小程序API wx.getAppAuthorizeSetting().bluetoothAuthorized == 'denied' 确认微信App已经授权访问了 蓝牙权限,但是一直返回 denied // 获取微信 APP 授权设置 const appAuthorizeSetting = wx.getAppAuthorizeSetting() console.log("蓝牙授权状态:" + appAuthorizeSetting.bluetoothAuthorized) console.log("地理位置授权状态:" + appAuthorizeSetting.locationAuthorized) console.log("精准定位状态: " + appAuthorizeSetting.locationReducedAccuracy) if (appAuthorizeSetting.bluetoothAuthorized == 'denied') { wx.showModal({ content: '请开启微信获取蓝牙功能权限', showCancel: false, title: '提示', success: (result) => { wx.openAppAuthorizeSetting(); }, fail: (res) => {}, complete: (res) => {}, }) return }
2024-08-01 - 微信小程序主体为个人进行备案一直提示证件有效期不足1月?
微信小程序备案一直提示证件有效期不足一个月 [图片]
2024-07-09 - 媒体Video组件 真机无法播放?
同一个视频文件 ,下面这个链接在开发工具内正常播放,但是在iOS真机就黑屏无法播放 https://gsts.oss-cn-beijing.aliyuncs.com/20230412184239/res/video/01-20240223 Happy New Year.mp4 代码片段如下: videoContext= wx.createVideoContext(`video-0`); videoContext.play() videoContext.requestFullScreen({ // 设置全屏时视频的方向,不指定则根据宽高比自动判断。 direction: 90// 屏幕逆时针90度 }); <video id="video-{{index}}" src="{{item.video_url}}" page-gesture="true" data-index="{{index}}" show-progress="true" show-fullscreen-btn="true" play-btn-position="center" show-center-play-btn="true" object-fit="contain" title="{{item.video_name}}" enable-play-gesture="true" bindplay="onPlay" bindpause="onPause" bindended="onEnded" bindtimeupdate="onTimeUpdate" bindseeking="onSeeking" bindseeked="onSeeked" />
2024-06-05 - 公众号配置的服务器地址(URL) 用户关注公众号事件存在无法同步的情况,能帮忙查一下吗?
无法获取用户的关注公众号的关注事件。麻烦协助查询下 原始id: gh_14dc339a19e0 微信的appid:wx4438ab62d602ef11 服务器地址(URL): http://wifi.yidubao.com/LeYu/iwechat/mainurl.aspx
2023-11-27 - 微信公众号后台用户管理搜索不到已关注粉丝,帮忙查下是什么问题?
微信用户关注公众号 在粉丝管理列表内找不到改用户的信息,导致公众号的功能出现异常。能不能帮忙定位下问题?
2023-11-27 - 小程序插件无法使用代码加固吗?
微信小程序的插件JavaScript 代码无法使用代码加固功能吗?
2023-08-28 - 小程序的服务器类目已按要求修改,为什么 wx.getLocation 还是提示暂无权限开通?
小程序的服务器类目已按要求修改,为什么 wx.getLocation 还是提示暂无权限开通? [图片] [图片]
2023-06-06