关于4.13号更新wx.getUserInfo()和wx.getUserProfile()的问题?

小程序 文章 2021-03-03 20:21 1173 0 全屏看文

AI助手支持GPT4.0

关于4.13号更新wx.getUserInfo()和wx.getUserProfile()的问题?Regarding the 4.13 update of wx.getUserInfo() and wx.getUserProfile()?

关于4.13号更新wx.getUserInfo()和wx.getUserProfile()的问题?

官方是否能保证4.13后的小程序调用wx.getUserInfo()时候不会弹出授权弹窗,并且能直接拿到除了匿名的rawData之外的所有信息。无需用户进行弹窗授权。

Can the government guarantee the small program call after 4.13 wx.getUserInfo () will not pop up authorization pop-up window, and can directly get all information except anonymous rawdata. No pop-up authorization is required.

回答:

跨商通:

你怀疑不能保证的理由是什么?他们在弄着玩吗?


周冉:

2021年4月13日后发布新版本的小程序

我理解的是如果小程序不更新的话就还能获取。

土豆:那这块兼容要怎么做,是否有案例demo呢
微喵网络:

土豆:就是wx.getUserInfo()不再通过button调取,可直接手动调取并且不需要用户授权和弹窗确认可以直接拿到除了匿名信息和之前完全一样的信息
微喵网络:对
土豆:好的,感谢

-EOF-

AI助手支持GPT4.0