- 流量主插屏广告用户不主动关闭,热启动时不消失?
流程:按照文档// 若在开发者工具中无法预览广告,请切换开发者工具中的基础库版本 // 在页面中定义插屏广告 let interstitialAd = null // 在页面onLoad回调事件中创建插屏广告实例 if (wx.createInterstitialAd) { interstitialAd = wx.createInterstitialAd({ adUnitId: '流量主广告id' }) interstitialAd.onLoad(() => {}) interstitialAd.onError((err) => { console.error('插屏广告加载失败', err) }) interstitialAd.onClose(() => {}) } // 在适合的场景显示插屏广告 if (interstitialAd) { interstitialAd.show().catch((err) => { console.error('插屏广告显示失败', err) }) }接入了流量主插屏广告,用户进入正常显示[图片],但用户不关闭流量主并且关闭小程序切后台。此时立即重新通过其他方式打开小程序(默认进入了其他页面)但改流量主广告依旧展示在界面上 用户重新打开小程序即使是热启动,流量主插屏广告也应该消失,而开发者无法自主关闭流量主,导致用户热启动进去时看到了广告 误以为是开屏广告导致营销不合规投诉。
06-11 - wx.scanQRCode调起后点击左上角返回/关闭扫码页面时 无法感知,未走回调?
wx.scanQRCode({ needResult: 0, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果, scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码,默认二者都有 success: function (res) { var result = res.resultStr; }, complete: function (res) { console.log(res); }, }); wx.scanQRCode调起后点击左上角返回/关闭扫码页面时 无法感知,未走fail/complete回调?
05-15 - we统计JS 大量报错:line:4,column:0,SyntaxError?
line:4,column:0,SyntaxError: Unexpected token \'=\'. Expected an opening \'(\' before a method\'s parameter list. Stack:
2024-05-20 - 基础库3.4.1之后 we统计JS分析以下报错内容,报错量逐渐上升?
line:1,column:643530,TypeError: i is not a function. (In \'i(r)\', \'i\' is undefined) Stack:r@https://lib/WAServiceMainContext.js:1:643530 s@https://lib/WAServiceMainContext.js:1:123462 callAndRemove@https://lib/WAServiceMainContext.js:1:118821 invokeCallbackHandler@https://lib/WAServiceMainContext.js:1:122358 @[native code] @https://lib/WAServiceMainContext.js:1:121202 invoke@https://lib/WAServiceMainContext.js:1:121716 invoke@https://lib/WAServiceMainContext.js:1:123601 R$@https://lib/WAServiceMainContext.js:1:1006136 j$@https://lib/WAServiceMainContext.js:1:1008852 @https://lib/WAServiceMainContext.js:1:1009343 @https://lib/WAServiceMainContext.js:1:635590 emit@https://lib/WAServiceMainContext.js:1:119315 emit@[native code]
2024-04-09 - 手机号快速验证组件扣费节点问题?
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html 查询和扣费节点说明查询节点:用户点击button时,进行资源包额度查询。若查询额度不足,开发者将收到错误码 [代码]e.detail.errno===1400001[代码] ,同时用户侧将收到平台默认半屏提示“该功能使用次数已达当前小程序上限,暂时无法使用”。若开发者想自行兼容欠费逻辑,可将 button 组件中[代码]phone-number-no-quota-toast[代码] 的值设置为 [代码]false[代码],此时平台将不在用户侧进行提示;扣费节点:开发者获得 [代码]bindgetphonenumber[代码] 事件的 success 回调信息时,进行扣费。bindgetphonenumber拿到成功回调时,如果event.detail的errMsg是用户取消(getoPhoneNumber:fail:user cancel)或其它非getoPhoneNumber:ok时 是否会消耗验证组件次数被扣费。
2024-01-02 - wx.openEmbeddedMiniProgram打开半屏小程序?
wx.openEmbeddedMiniProgram调用后当前页面拉起半屏小程序,直接关掉小程序,下次扫普通二维码规则进入,半屏小程序会被直接拉起,影响了业务流程。
2022-03-31