获取手机号API没有返回code

小程序 文章 2021-12-27 18:00 271 0 全屏看文

AI助手支持GPT4.0

获取手机号API没有返回codeNo code is returned from the mobile phone number acquisition API

获取手机号API没有返回code
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug getPhoneNumber 微信安卓客户端 8.0.16 2.21.2

https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html

Framework type problem type API / component name terminal type wechat version basic library version applet bug getphonenumber wechat Android client 8.0 16 2.21. two https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html

回答:

社区技术运营专员-horanzhou:

先以真机为准,工具后续同步表现

brave:

① 确认当前基础库版本是否为 2.21.2 及以上。

② 目前开发者工具未兼容此表现(近期应该会同步),目前以真机调试为准。

Mr.Zhao:

真机测试没返回?

-EOF-

AI助手支持GPT4.0