类目,不符合的没办法使用 https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html
个人做测试怎么才能使用live-pusher和live-player?个人做测试怎么才能使用live-pusher和live-player? 个人做测试怎么才能使用live-pusher和live-player? 个人做测试怎么才能使用live-pusher和live-player? [图片]
2024-03-15请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
pc电脑微信小程序端,wx.showActionSheet组件异常[图片] [图片] 电脑微信端小程序live-player全屏后,这个弹框不显示了,要退出全屏才显示。点击取消会出现返回上一页的bug,之前版本没有这个情况,手机端也没有这个情况。
2024-03-15问题已知,正在修复
canvas滑动事件bindtouchmove触发不连续问题?将苹果系统升级到最新版本后,canvas bindtouchmove事件触发不连续,安卓没问题,旧版本的苹果系统没问题,请问是什么原因以及如何解决呢
2024-03-15请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
camera里的onCameraFrame回调为什么不执行?为什么camare里的onCameraFrame方法回调不执行,只有OPPO Find X5跟一加ACE2v手机会 const context = wx.createCameraContext(); const listener = context.onCameraFrame((frame) => { 这里的回调不执行 }); listener.start()
2024-03-15请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
wx.downloadFile 监听 下载进度 模拟器正常 真机没反应?wx.downloadFile function downloadFile(url: string, onProgressUpdate: Function) { const httpsUrl = url.replace("http://", "https://"); return new Promise((resolve, reject) => { let downloadedSize = 0; let totalSize = 0; let progress = 0; const downloadTask = wx.downloadFile({ url: httpsUrl, success: (res) => { // console.log('res', res) resolve({ tempFilePath: res.tempFilePath, }); }, fail(err) { showToast("系统检测到您当前的网络环境不稳定,请将视频链接复制到浏览器中进行下载。"); reject(JSON.stringify(err)); }, complete() { // 下载完成后可以进行一些操作 }, }); console.log("downloadTask", downloadTask); downloadTask.onProgressUpdate((res) => { downloadedSize = res.totalBytesWritten; totalSize = res.totalBytesExpectedToWrite; progress = (downloadedSize / totalSize) * 100; // console.log('下载进度:', progress.toFixed(2) + '%') // 每次下载进度更新时,调用回调函数,传递当前进度值 onProgressUpdate(progress); }); }); } console.log("downloadTask", downloadTask); 真机打印为 downloadTask {"uniqueId": 17104675550159764, "taskInvoker": "<Undefined>"} 为什么 前段时间还是可以的
2024-03-15这是一个已知问题,我们会尽快进行修复。
小程序画布 在iphone15promax上不能画出连续的线https://developers.weixin.qq.com/miniprogram/dev/api/canvas/Canvas.html [图片] iphone15promax不能画出连续的线,只能一段一段的。 [图片]iphone13 可以画出连续的线。 代码如下: //wxml <canvas canvas-id="signCanvas" class="canvasStyle" bindtouchstart="onTouchStart" bindtouchmove="onTouchMove" bindtouchend="onTouchEnd"></canvas> //script Page({ startX: 0, // Starting X coordinate startY: 0, // Starting Y coordinate isDrawing: false, // Flag to check if drawing is happening ctx: null, // Canvas context onLoad: function() { this.ctx = wx.createCanvasContext('signCanvas', this); }, onTouchStart: function(e) { this.isDrawing = true; this.startX = e.touches[0].x; this.startY = e.touches[0].y; }, onTouchMove: function(e) { if (!this.isDrawing) return; let x = e.touches[0].x; let y = e.touches[0].y; this.ctx.moveTo(this.startX, this.startY); this.ctx.lineTo(x, y); this.ctx.stroke(); this.startX = x; this.startY = y; this.ctx.draw(true); // Add true to keep drawing on the same canvas without clearing previous content }, onTouchEnd: function(e) { this.isDrawing = false; }, clearCanvas: function() { this.ctx.clearRect(0, 0, 300, 200); this.ctx.draw(); }, saveCanvas: function() { wx.canvasToTempFilePath({ canvasId: 'signCanvas', success: function(res) { // res.tempFilePath is the temporary file path of the canvas image console.log(res.tempFilePath); // You can save this path or upload the image as needed } }, this); } }); //css .canvasStyle { border: 1px solid #000; /* Basic border for visibility */ width: 300px; /* Width of the canvas */ height: 200px; /* Height of the canvas */ }
2024-03-14这是一个已知问题,我们会尽快进行修复。
<canvas>组件在iOS真机中手写字不连贯、断点 解决了吗?iphone12pro手写断点,用户报障,有解决吗
2024-03-14请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
wx.showToast 提示默认1.5s,调用成功的回调函数在ios上会一闪而过?要求:在提示1.5s后,返回上一层 测试手机系统:ios,android 结果:在安卓上可以实现,在ios系统上会一闪而过,立刻返回到上一层 基础库:3.1.3 [图片] [图片][图片]
2024-03-14可根据事件推送排查:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message.html#%E8%AE%A2%E9%98%85%E6%B6%88%E6%81%AF%E4%BA%8B%E4%BB%B6%E6%8E%A8%E9%80%81
小程序订阅消息,订阅成功了。但是服务通知收不到消息是啥原因呢?templateID:9qafHL_ItpoFA95ahNZde3YR1VPyMJf7hwGWswlk8BI userOpenId:oZd9Q5B5Omii6Pu2gWe9cwEI5pno
2024-03-14什么版本工具
小程序真机调试白屏?PC端真机调试正常,手机端真机调试就白屏了,什么原因?
2024-03-14