收藏
回答

startLocationUpdateBackground调用之后不好用?

无效的 app.json permission["scope.userLocationBackground"] 这是我的app.json 大神们这个要怎么搞

{
  "pages": [
   
    "pages/lanhu_gengduogongjuye/component"
  ],
  "window": {


    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#fff",
    "navigationBarTitleText": "Weixin",
    "navigationBarTextStyle": "black"
  },
  "style": "v2",
  "sitemapLocation": "sitemap.json",
  "requiredBackgroundModes": [
    "location"
  ],
  "requiredPrivateInfos": [
    "getLocation",
    "onLocationChange",
    "startLocationUpdate"
  ],
  "permission": {
    "scope.userLocationBackground": {
      "desc": "获取您的后台位置"
    },


    "scope.userLocation": {
      "desc": "获取用户位置"
    }


  }


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

1 个回答

登录 后发表内容