- 隐私协议已经弹出告知用户,wx.chooseMedia还是报错?
errMsg: "chooseMedia:fail api scope is not declared in the privacy agreement" <privacyPopup ref="refPrivacyPopup" /> wx.getPrivacySetting({ success: res => { // 返回结果为: res = { needAuthorization: true/false, privacyContractName: '《xxx隐私保护指引》' } console.log('getPrivacySetting**', res) this.needAuthorization = res.needAuthorization if (res.needAuthorization) { console.log('需要弹出隐私协议') this.$refs.refPrivacyPopup.handleOpen(res.privacyContractName) } else { // 用户已经同意过隐私协议,所以不需要再弹出隐私协议,也能调用隐私接口 console.log('用户已经同意过隐私协议,所以不需要再弹出隐私协议,也能调用隐私接口') } }, fail: () => { console.log('getPrivacySetting fail**', res) }, complete: () => {} }) <button id="disagree-btn" type="default" class="btns reject-btn" @click="handleDisagree">拒绝</button> <button id="agree-btn" type="default" open-type="agreePrivacyAuthorization" class="btns agree-btn" bindagreeprivacyauthorization="handleAgree">同意并继续</button> let privacyHandler let privacyResolves = new Set() let closeOtherPagePopUpHooks = new Set() wx.onNeedPrivacyAuthorization(resolve => { if (typeof privacyHandler === 'function') { privacyHandler(resolve) } }) const closeOtherPagePopUp = (closePopUp) => { closeOtherPagePopUpHooks.forEach(hook => { if (closePopUp !== hook) { hook() } }) } // 同意 handleAgree() { console.log('同意', privacyResolves) privacyResolves.forEach(resolve => { console.log('handleAgree ', resolve) resolve({ event: 'agree', buttonId: 'agree-btn' }) }) privacyResolves.clear() }, // 不同意 handleDisagree() { console.log('不同意 ', privacyResolves) privacyResolves.forEach(resolve => { console.log('handleDisagree ', resolve) resolve({ event: 'disagree', }) }) privacyResolves.clear() this.handleClose() } [图片] 问题:bindagreeprivacyauthorization="handleAgree"回调没有触发。
2023-10-31 - 你好,你的小程序涉及收集、存储用户身份信息,平台暂不支持此功能,请修改?
个人主体,请问下还要怎么修改。 第一次审核不过,注册时做了是否继续注册提示,增加用户协议和隐私政策,注册流程没问题了。 [图片][图片][图片] 现在又提出添加会员时,又说收集用户信息,我...,添加会员是台球商家有会员充值时,必要的为会员添加账号,方便后期使用台球服务,而且被添加用户肯定是知晓和愿意的。 [图片][图片]
2023-04-23