We have developed iOS app that has requirement to notify user about Geofence entry / exit.
For this implementation, we have used location service API wherein app checks persistent location using the Location services api.
Now, after submission of app to Apple store, it got rejected due to following reason:
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. As a resolution,
Apple suggested following:
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.
We need technical help and guidance to understand the alternative approach, so that app functional requirements and Apple guidelines, both will meet.