我的申请被拒绝,如果我需要调用web服务在后台更新位置? - Would my application get rejected if i need to call web service in background to update the location?

- 此内容更新于:2015-12-13
主题:

我试着阅读关于这几个地方但我什么也没找到,帮助了我。对于我的应用程序工作我需要在后台更新用户的位置,调用web服务来存储一些关于位置的相关信息。现在我知道的是,一些背景特性只允许您在后台运行代码为一个特定的时间。但不是在位置服务和播放音频。我在考虑使用重大改变位置服务所以电池消耗不会太多。因为它可以使用该服务为什么不工作。我的问题是将应用程序被拒绝使用这个还是可以的:获得用户位置通过重大改变位置服务。(我知道是可以的)存储,信息通过调用web服务(所有的背景)<---这个我不知道,是否可以做?谢谢大家!

原文:

I tried reading about this in several places but i did not find anything that helped me.

For my app to work i will need to update the users location in the background AND call a web service to store some relevant information about the location. Now from what i know is that some background features only allows you to run code in the background for a specific amount of time. But not when it comes to location services and playing audio.

I am thinking about using Significant-Change Location Service so the battery drain wont be to much. Since it can work using that service why not. My question is will the app be rejected using this or is it ok to:

  1. Get the users location by using significant change location service. (which i know is ok)
  2. Store that information by calling a web service ( all done in the background) <--- This i dont know if it is ok to do?

Thank you all!

解决方案:
不,它可能不会被拒绝。我做了一件类似的过去和得到批准。但记住,苹果的评论家不一致对他们拒绝这当然是不可能的。他们有时拒绝因为是完全可以做的事情根据他们的指导方针。
原文:

No, it probably won't get rejected. I did something similar in the past and got approved. But keep in mind that Apple's reviewers aren't consistent about their rejections so it's impossible to be sure. They sometimes reject because of things that are perfectly ok to do according to their guidelines.

网友:一点评论。因为应用程序使用重要的位置,如果调用webservice消耗时间和处理器,那么它已经符合应用程序不运行在背景模式。如果你如需要等待很长时间调用webservice给你发送一些数据,然后您需要启用应用程序背景模式和用户应该接受它(我倾向于拒绝背景模式,例如)。

(原文:Just a little comment on this. Since the app uses significant location, then if the call to the webservice consumes little time and processor, then it is already compliant with apps that do not run in background mode. If you needed e.g. A to wait for a long time for the call to the webservice to send you some data, then you would need to enable your app for background mode and the user should accept it (I tend to say no to background mode, for example).)