taro 在抖音小程序的 button 组件缺少 bindgetidentityinfo 属性方法

xcitsw88  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(22)

这个特性解决了什么问题?

详情可以参考这个链接: https://developer.open-douyin.com/docs/resource/js-component/apiMeta?apiName=button-getIdentityInfo&nodeId=7389524161669892389&scope=component.buttonGetIdentityInfo

同时满足以下条件:

  • 抖音号不是“抖音B号”
  • 内部能力申请通过
  • 用户的抖音号已完成实名认证
  • 满足小程序隐私协议管控要求 ,前置用户已授权小程序隐私协议

步骤:

  1. <button
    open-type="getIdentityInfo"
    bindgetidentityinfo="getIdentityInfoHandler"

  2. 点击即可唤起获取身份证信息功能

这个 API 长什么样?

<button
open-type="getIdentityInfo"
bindgetidentityinfo="getIdentityInfoHandler"

wgmfuz8q

wgmfuz8q1#

想问下需要在哪个分支拉代码现在,3.0+ 的可以吗

相关问题