错误信息:
getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json
官方文档:
解决方案:
在该位置加入以下代码
"requiredPrivateInfos": [
"getLocation"
]
getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json
在该位置加入以下代码
"requiredPrivateInfos": [
"getLocation"
]