wx.getSystemInfoSync是否可以在开放数据域调用?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:01 590 0 全屏看文

AI助手支持GPT4.0

wx.getSystemInfoSync是否可以在开放数据域调用?

wx.getSystemInfoSync是否可以在开放数据域调用?

开发文档https://developers.weixin.qq.com/minigame/dev/guide/open-ability/open-data.html中列出了开放数据域能使用的所有api,其中不包括wx.getSystemInfoSync。但是经测试,wx.getSystemInfoSync在开放数据域可以调用,在安卓和苹果手机上都可以。

请问,官方是否支持在开放数据域调用wx.getSystemInfoSync?

wx.getSystemInfoSync Can I call it in open data domain? Development documentation https://developers.weixin.qq.com/minigame/dev/guide/open-ability/open-data.html Lists all the APIs that can be used in open data domains, excluding wx.getSystemInfoSync 。 But after testing, wx.getSystemInfoSync Both Android and open data can be called on Android. Does the official support calling in the open data domain wx.getSystemInfoSync ?

回答:

Forever:

自己在开放数据域遍历一下不就行了?

su_xg:谢谢您的回答。但是这个开发文档里应该明确的写出来吧?

-EOF-

AI助手支持GPT4.0