在后台跟踪位置会导致应用被拒绝

Tracking location in background causes app rejection

最近我在应用商店提交了一个跟踪用户位置的应用程序,将其发送到服务器,然后该位置在应用商店外的另一项服务上可见。具有此功能的应用程序的原始提交已获得批准,然后我进行了一些错误修复的更新,但由于这种推理,它首先被拒绝了

Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not declare 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. Please also add the following battery use disclaimer in your Application Description: "Continued use of GPS running in the background can dramatically decrease battery life."

所以我在我的应用说明中添加了 Continued use of GPS running in the background can dramatically decrease battery life. 并且还对我们使用后台位置的内容进行了测试

Background Location is used for tracking the drivers location so that dispatch can view where the driver is.

然后我重新提交,这次又被拒了

Thank you for your resubmission. Based on the response in the review notes >section, your app uses background location mode for the purpose of tracking >employees only, which is not appropriate for the App Store.

Next Steps

Please revise your app to include additional features for your users that require the persistent use of real-time location updates while the app is in the background. For example, a map in the user interface that allows drivers to see their location.

If tracking your employees’s locations is your only intended use of background location, it would be more appropriate to distribute and sell your app as a custom B2B app, through the Volume Purchase Program.

这种拒绝对我来说毫无意义,有数百个应用程序完全符合我们的要求,例如 UberLyft。他们的位置被发送到服务器并且司机在地图上可见,唯一的区别是他们可见的地图不是应用程序商店中的应用程序。

所以我的问题是如何在应用程序商店中获取一个应用程序来存储用户位置,将该位置发送到服务器以允许该位置在我们的另一项服务上可见?

根据苹果的说法,让它通过的唯一方法似乎是添加一张地图,这样用户就可以清楚地看到他们的位置,所以这就是我所做的,他们通过了它