We are facing an issue where the iOS App store rejects our submission.
Due to the use of “prefs:root=”
We have tried to search for any plugins causing this issue but cannot pinpoint the issue.
We’ve contacted Apple but they have no further details for us.
Any help or debugging tips are greatly appreciated.
Rejection message
Guideline 2.5.1 - Performance - Software Requirements
Your app uses the “prefs:root=” non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.
Next Steps
To resolve this issue, please revise your app to provide the associated functionality using public APIs or remove the functionality using the “prefs:root” or “App-Prefs:root” URL scheme.
If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.
We have the following url type for Facebook (social sharing)
And these capabilities
Plugins used
<plugin name="cordova-plugin-device" spec="1.1.7" />
<plugin name="cordova-plugin-statusbar" spec="2.1.3" />
<plugin name="cordova-plugin-app-version" spec="0.1.9" />
<plugin name="cordova-plugin-inappbrowser" spec="1.4.0" />
<plugin name="cordova-plugin-x-toast" spec="2.5.2" />
<plugin name="cordova-plugin-whitelist" spec="1.2.2" />
<plugin name="cordova-plugin-screen-orientation" spec="1.4.3" />
<plugin name="cordova-plugin-exitapp" spec="1.0.0" />
<plugin name="cordova-plugin-x-socialsharing" spec="5.1.8" />
<plugin name="cordova-plugin-network-information" spec="1.3.4" />
<plugin name="cordova-plugin-facebook4" spec="1.9.1">
<variable name="APP_ID" value="xxxxxx" />
<variable name="APP_NAME" value="xxxxxxxx" />
</plugin>
<plugin name="cordova-plugin-code-push" spec="1.9.3-beta" />
<plugin name="cordova-plugin-google-analytics" spec="1.8.3" />
<plugin name="cordova-plugin-splashscreen" spec="4.0.3" />
<plugin name="cordova-plugin-networkinterface" spec="1.2.0" />
<plugin name="cordova.custom.plugins.exitapp" />
<plugin name="cordova-plugin-geolocation" spec="3.0.0" />
<plugin name="cordova-plugin-firebase" spec="0.1.25" />
<plugin name="cordova.plugins.diagnostic" spec="4.0.10" />
<engine name="browser" spec="4.1.0" />
<engine name="android" spec="6.4.0" />
<engine name="ios" spec="^4.5.5" />