Skip to content

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

@zen0822

Description

@zen0822

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

详情可以参考这个链接: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"
  1. 点击即可唤起获取身份证信息功能

这个 API 长什么样?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions