美文网首页IOSiOS开发杂货铺
iOS --后台持续定位App Store审核被拒亲历

iOS --后台持续定位App Store审核被拒亲历

作者: 杰森_Jason | 来源:发表于2017-08-22 12:14 被阅读808次

      记得去年提交审核时,被APPStore拒绝过一次,当时是Info.plist文件中的Location When In Use Usage Description就写了个YES,因为iOS10之后必须写提示详细信息,所以后来改成“我们需要通过您的位置信息获取您周边数据来服务您”,如下:


    提示信息

      后来重新提交审核,就通过了!最近相同的项目因为一些功能,增加了后台定位,提交审核时又被拒了,下面是苹果的邮件:

    发件人 Apple

    1. 1.5 Legal: Privacy - Location Services

    Guideline 5.1.5 - Legal - Privacy - Location Services

    Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines.

    Please see attached screenshots for details.

    Next Steps

    To resolve this issue, please revise the NSLocationAlwaysUsageDescription value in the Info.plist to specify the intended purpose of using the user's location while the app is in the background.

    Resources

    For additional information and instructions on configuring and presenting an alert, please review the Requesting Permission section of the iOS Human Interface Guidelines and the Information Property List Key Reference.

      还附了一张截图:

    审核截图

      这次不得不再次研究这个东西,网上查了下资料,有很多这种问题被拒的,于是我开始修改,先把Info.plist里的提示信息修改下:


    Info.plist修改

      苹果的审核规则有点修改,因为需要在获取用户定位的时候,告知用户为什么需要获取用户的位置,要用简洁的语音写清楚,不能笼统的一句我们需要定位,特别是后台定位,必须说明使用后台定位的用途、目的。提示效果如下:


    允许定位提示弹框
      除此之外,我们还得改一处地方,那就是应用简介中,我们得提示用户类似于“GPS在后台持续运行,会大大降低电池的寿命”的提示语”;后台定位确实会降低电池的寿命,苹果的用户体验要求很高,所以必须要用户提示!
    耗电提示语

      做了这些操作,重新提交审核。等待。。。我以为会OK的,到了第二天等到的却是下面的回复:

    发件人 Apple

    1. 5 Performance: Software Requirements
      Guideline 2.5.4 - Performance - Software Requirements

    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

    To resolve this issue, 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.

    Resources

    For more information, please review the Starting the Significant-Change Location Service and Monitoring Geographical Regions.

    Request a phone call from App Review

    At your request, we can arrange for an Apple Representative to call you within the next three business days to discuss your App Review issue. Our representative will be able to discuss the issue in English or Chinese.

    To request a call and ensure we have accurate contact information, reply directly to this message with a contact name and direct phone number to reach you.

    申请应用审核团队致电联系

    如果您有需要,我们将根据您的要求在三个工作日内安排一位精通中文的苹果公司代表致电与您联系,讨论您的应用审核结果。
    为了确保我们有正确的联系资料,请回复这封邮件并提供您的姓名与电话号码。

    申請應用審核團隊致電聯繫

    如果您有需要,我們將根據您的要求在三個工作日內安排一位精通中文的蘋果公司代表致電與您聯繫,討論您的應用審核結果。
    為了確保我們有正確的聯繫資料,請回覆這封郵件並提供您的姓名與電話號碼。

      这下懵逼了,苹果要找我谈话了!!没办法,谁叫苹果是老大呢,只能填了自己的联系方式回复了邮件,然后继续等。第二天,接到一个境外电话,深圳公安局提示防止诈骗,但想到会不会是苹果公司,还是接了,果然,一个温柔女子的声音,说自己是苹果公司,和我交流下产品,信号略差,说了半天,那边来了句:“这是不允许的,嗯哼?”,我又问,什么样的功能才能使用后台定位,那边回答到:“导航类的,嗯哼?”,然后我又解释半天,说我们虽然不是导航类APP,但需要用到后台定位,但那边完美的躲过你的问题,又来了一句:“这是不允许的,嗯哼?”,语气比淘宝客服还亲!!没办法,信号较卡,只能挂了,叫她发邮件,顺便留个联系电话,后来收到邮件:

    Hello Mr. 袁,

    RE: Call ticket: 1797297

    Thank you for your time during our call today.

    As we discussed, your app was found to be out of compliance with App Store Review Guidelines, 2.5.4.

    Guideline 2.5.4 - Performance - Software Requirements

    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

    To resolve this issue, 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.

    Resources

    For more information, please review the Starting the Significant-Change Location Service and Monitoring Geographical Regions.

    We hope you will consider making the appropriate revisions to your app and resubmit.

    For code-level assistance, please consult with Apple Developer Technical Support. Based on your app, please be sure to include any symbolicated crash logs, screenshots, or steps to reproduce the issues encountered.

    If you feel that this rejection was made in error, and believe your app is in compliance with the App Store Review Guidelines, you may submit an appeal to the App Review Board. Once the App Review Board has completed their evaluation, they will contact you directly with the decision.

    If you have any further questions, please write to us via Resolution Center on iTunes Connect or feel free to contact me at +1-408-783-9226 between 11am - 8pm Pacific Daylight Time.

    Thank you,

    Jenny
    App Store Review

      上个应用咋这么难呢?想尽了办法,最后想到还是录个视频再解释下碰碰运气;于是录了个运用到后台定位功能的短视频,20来秒,上传到优酷,给苹果回复了邮件,附上一条链接,请求重新审核。第二天得到苹果的回复说链接打不开!!彻底无语了,优酷国外打不开??不对啊,我以前一直用着优酷上传审核的,可以打开的。询问优酷客服,说是可以打开!又给他回邮件,问是不是网络问题,可以打开的,然后想想还是打不开怎么办?所以还在提交审核信息里面附件上传了个本地视频,省的又得等一天。于是,继续等。。。

      我以为第二天才会有结果,无意中刷新了下网页,结果上线了!!!!至此,我的审核之旅结束了。本来以为再不过得话,就主动打电话沟通了。

      下面附苹果审核注意事项:App Store Review Guidelines

    声明: 转载请注明出处http://www.jianshu.com/p/265aeede8cf2

    相关文章

      网友评论

      • 梁森的简书:如果需要获取用户位置信息但不是持续定位 需要用户耗电的问题吗?
        杰森_Jason:不需要!
      • 梁森的简书:我的应用只是将一个坐标点(后台传过来的)显示在地图上,那么使用地图时的提示语和后台定位是不都不用在info.plist文件中写了
        杰森_Jason:@阳光黑 没用到定位当然不用写!只要用到定位数据,包括展示都需写!
      • e1d336bcc4af:写的好,大神以后多分享:relaxed:

      本文标题:iOS --后台持续定位App Store审核被拒亲历

      本文链接:https://www.haomeiwen.com/subject/cqmirxtx.html