在HBuilderX中开发的uni-app应用,运行到微信开发者工具,在微信开发者工具中报错:{“errMsg”:“chooseAddress:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json”}
现在,运行到微信开发者工具,会自动在app.json文件中增加如下片段:
"requiredPrivateInfos": [
"chooseAddress"
]