收藏
回答

wx.getPrivacySetting接口needAuthorization一直返回false?

 wx.getPrivacySetting一直返回false, 该设置的都设置了,就是不行,体验版也不行,求官方和大佬们救命啊,搞了好几天了

回答关注问题邀请回答
收藏

5 个回答

  • 夏味
    夏味
    2023-09-07

    可以看我主页,有教程

    2023-09-07
    有用
    回复 2
    • 无颜
      无颜
      2023-09-07
      errMsg":"getUserProfile:fail api scope is not declared in the privacy agreement","errno":112  这个怎么解决,隐私那边已经同意了,还是报这个错
      2023-09-07
      回复
    • 夏味
      夏味
      2023-09-07回复无颜
      小程序后台,去配置隐私协议,这个这个权限没配上。另外 getUserProfile 已经废弃了,建议别用
      2023-09-07
      回复
  • Jianbo
    Jianbo
    2023-09-06

    在 2023 年 9 月 15 号之前进行相关开发调试则需要在manifest.json文件mp-weixin中添加"__usePrivacyCheck__": true

    2023-09-06
    有用
    回复 3
    • 无颜
      无颜
      2023-09-07
      errMsg":"getUserProfile:fail api scope is not declared in the privacy agreement","errno":112 这个怎么解决,隐私那边已经同意了,还是报这
      2023-09-07
      回复
    • Jianbo
      Jianbo
      2023-09-07回复无颜
      更新隐私后通过审核没 ?
      2023-09-07
      回复
    • 无颜
      无颜
      2023-09-07回复Jianbo
      审核通过了,但是还是这样
      2023-09-07
      回复
  • 那一抹笑😃 穿透阳光
    那一抹笑😃 穿透阳光
    2023-09-06

    基础库用最新的试一下勒,还有就是截图看一下你设置的隐私协议,还有就是需要加id,然后当做参数传递,详情参考文档https://developers.weixin.qq.com/miniprogram/dev/framework/user-privacy/PrivacyAuthorize.html

    2023-09-06
    有用
    回复 1
    • 无颜
      无颜
      2023-09-07
      errMsg":"getUserProfile:fail api scope is not declared in the privacy agreement","errno":112 这个怎么解决,隐私那边已经同意了,还是报这
      2023-09-07
      回复
  • 王宇豪
    王宇豪
    2023-09-06

    基础库用3.0.1

    2023-09-06
    有用
    回复 2
    • 无颜
      无颜
      2023-09-07
      errMsg":"getUserProfile:fail api scope is not declared in the privacy agreement","errno":112 这个怎么解决,隐私那边已经同意了,还是报这
      2023-09-07
      回复
    • 王宇豪
      王宇豪
      2023-09-07回复无颜
      要等半天左右更新
      2023-09-07
      回复
  • CRMEB
    CRMEB
    2023-09-06

    https://developers.weixin.qq.com/community/develop/doc/0008e8f0c6cd20be17409064261400?jumpto=comment

    2023-09-06
    有用
    回复 1
    • 无颜
      无颜
      2023-09-07
      errMsg":"getUserProfile:fail api scope is not declared in the privacy agreement","errno":112 这个怎么解决,隐私那边已经同意了,还是报这
      2023-09-07
      回复
登录 后发表内容