最新版本的获取手机号的接口getPhoneNumber兼容性好像十分的差,目前上线的小程序获取手机号功能在使用中遇到好多问题,新的getPhoneNumber获取code版本和使用机器要求不确定性很高,使用者使用微信版本:8.0. 17 ipad型号:ipad第8代 IOS:15.0.1,但就是获取不到,想问问这种咋回事呀
最新版本的获取手机号接口的微信版本到底是什么?What is the WeChat version of the latest version of the mobile phone number interface?
最新版本的获取手机号接口的微信版本到底是什么?最新版本的获取手机号的接口getPhoneNumber兼容性好像十分的差,目前上线的小程序获取手机号功能在使用中遇到好多问题,新的getPhoneNumber获取code版本和使用机器要求不确定性很高,使用者使用微信版本:8.0. 17 ipad型号:ipad第8代 IOS:15.0.1,但就是获取不到,想问问这种咋回事呀
The compatibility of getphonenumber, the interface for obtaining mobile phone number in the latest version, seems to be very poor. At present, the function of obtaining mobile phone number in the online applet has encountered many problems in use. The requirements for obtaining code version and using machine of the new getphonenumber are very uncertain. Users use wechat version: 8.0 17 iPad model: iPad 8th generation IOS: 15.0.1, but I just can't get it. What's the matter
回答:
2.21.2及以上版本,对应微信客户端8.0.16。建议先使用老版本。等过个几个月用户版本上来了 再改为新版的获取code方式。
旧的不影响使用,新的是为了更安全的解密手机号。
自己肯定要做兼容的,你不能保障所有用户基础库和版本都满足要求。