canUse api 为什么不支持getUserProfile?

发布于 7 年前作者 kongjuan2975 次浏览最后编辑 7 年前来自 issues

 官方更改了getUserInfo api,建议用getUserProfile,为什么wx.canIUse(‘getUserProfile’) 返回false, 期望是true

8 回复
ming37
ming371 楼5 年前

持续关注中

chao24
chao242 楼5 年前

关注

tangqiang
tangqiang3 楼5 年前

希望快点修复

xiuyingshen
xiuyingshen4 楼5 年前

关注~~

yantao
yantao5 楼5 年前

关注

mlai
mlai6 楼5 年前

版本没问题的话 真机调试一下 我刚才遇到这个问题了 真机调试是true模拟器就是false

li57
li577 楼5 年前

使用版本号比较,微信文档中也说了,版本号比较适用所有情况。

https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html

chaocai
chaocai8 楼5 年前

建议查看基础库是否更新

建议真机调试尝试返回结果