Location Services app store rejection

My app has been rejected for the following reason:

Guideline 5.1.5 - Legal - Privacy - Location Services

We noticed that your app does not request and obtain the user’s consent prior to accessing their location data, which is not allowed on the App Store.

Next Steps

To resolve this issue, please revise your app to add the consent prompt for accessing the user’s location data and to ensure the features are still functional if the user initially opts out.

I have added the following to my plist but is there anything else I need to do?

UIRequiredDeviceCapabilities = {“location-services” },

When I test it on my devices it requests my consent on first run so I am not sure why they are not getting it.

 iphone = { plist = { UIRequiredDeviceCapabilities = {"location-services" }, NSLocationWhenInUseUsageDescription = "This app uses the GPS when active to determine where to report weather for.", } }

Are you including the NSLocationWhenInUseUsageDescription?

Rob

@Rob

I do have the NSLocationWhenInUseUsageDescription in the plist.

The app was finally approved after the 4th submission. :slight_smile: