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.