Support Article
Location in the UIBackgroundModes key in your Info.plist file.
SA-57364
Summary
When user publishes a mobile application to iTunes, a rejection notice displays during the review process.
Error Messages
Guideline 2.5.4 - Performance - Software Requirements
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.
Next Steps
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.
Steps to Reproduce
Publish the Pega mobile application file to iTunes.
Root Cause
The out-of-the-box Pega implementation to build mobile applications includes an assets.zip file that does not contain a custom.properties file. As a result, the resulting build file defaults to include PRPCLocationRecorder.
Resolution
Add a custom.properties file in the root of the assets.zip with the following entry:
container.modules.exclude=PRPCLocationRecorder
For more information to exclue the geolocatoin functionality, refer to: https://community.pega.com/knowledgebase/articles/best-practices-publishing-custom-mobile-apps-app-stores
Published November 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.