I am attempting to publish the custom mobile app created with Pega 7.2 onto the Apple Store. They have rejected the app because "Your app uses location services but does not clarify the purpose of its use in the location modal alert. Apps that collect, transmit, or use location data must notify and obtain the user’s consent prior to accessing this data."
They told me "To resolve this issue, please specify why the app is requesting the user's location in the location permission modal alert."
They provided a screen show of the app saying "Allow -App's Name- to access your location while you are using the app? The app wants to read your location"