收藏
回答

requiredPrivateInfos加入app.json后有些机型无效?

组件:wx.getLocation

微信版本号:8.0.24

app.json中加入

"requiredPrivateInfos":[

    "chooseLocation",

    "getLocation"

  ],

wx.getLocation返回{"errMsg":"getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json"}

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容