uni微信小程序地理定位报错:getLocation:fail the api need to be declared in the requiredPrivateInfos field in app
问题描述报错:errinfo{“errCode”:“0”,“errMsg”:“getLocation:failtheapineedtobedeclaredintherequiredPrivateInfosfieldinapp.json/ext.json”}解决方案:需要在manifest.json文件中配置requiredPrivateInfos属性:/*小程序特有相关*/"mp-weixin":