老火
老火
  • 发布:2017-02-17 11:26
  • 更新:2017-09-12 15:26
  • 阅读:3340

IOS在线打包被拒 大意说是我用到实时定位,如何去掉这个实时定位

分类:HBuilder

Performance - 2.5.4

Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Next Steps

Please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

If your app does not require persistent real-time location updates, please remove the "location" setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the region monitoring location service if persistent real-time location updates are not required for your app features.

大意上说是后台在实时定位,我用到过百度地图,但app不要求要实时定位功能,只是临时取到一下用户位置,然后把位置传给第三方导航使用,这个应该如何来配置?

2017-02-17 11:26 负责人:无 分享
已邀请:
老火

老火 (作者)

已解决,根据网上其它朋友的建议,向苹果提交申诉,说明这个定位是必须的,并在说明中注明使用这个功能手机电池会比正常消耗快,注意申诉时要用英文,中文根本不鸟你

我的原文申诉是

> I need to use the real-time localtion in the nearby store module to provide users with distance measurement and path planning

然后再附上几张应用所需用到定位功能的截图

app原文描述是

> 【温馨提示】
附近店铺会持续使用GPS定位服务,切换至后台时,仍会保持GPS连接,相比其他操作会消耗更多的电量。
GPS在后台持续运行会影响电池续航时间。

希望可以对遇到同样问题的网友有帮助

老火

老火 (作者)

顶起,求解

BoredApe

BoredApe - 有问题就会有答案。

如果不需要使用后台定位.请删除manifest.json中

        "UIBackgroundModes":["location"],  
  • 老火 (作者)

    关键是我的manifest.json并没有"UIBackgroundModes":["location"],这行

    2017-02-17 16:32

  • BoredApe

    manifest.json中的appid是? 什么时候打的这个包

    2017-02-17 17:19

  • 老火 (作者)

    appid是yimiyoupin,是16号中午12点左右打的包(昨天)

    2017-02-17 17:54

  • 老火 (作者)

    appid是com.yimi18.caihukeji id是yimiyoupin

    2017-02-17 17:54

  • Winson1138

    如何去掉这个定位的问题我的苹果发布时也遇到这个问题,没有上楼上说的"UIBackgroundModes":["location"]有这行

    2017-03-01 11:05

1***@qq.com
移动达人

移动达人

不错

该问题目前已经被锁定, 无法添加新回复