question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App Store Rejection - Prefs Non-Public URL Scheme

See original GitHub issue

Your Environment

  • Plugin version: Latest
  • Platform: iOS
  • OS version: N/A
  • Device manufacturer and model: N/A
  • Cordova version (cordova -v): Latest
  • Cordova platform version (cordova platform ls): N/A
  • Plugin configuration options: N/A
  • Link to your project: N/A

Context

Apple Rejection Notice:

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.

Upon scanning all plugins and source of our App, the only area using prefs:root=… is this one.

Expected Behavior

The plugin should use only public API’s so rejections do not occur.

Actual Behavior

The plugin uses non-public API’s so rejections do occur.

Possible Fix

I havn’t reviewed a potential fix as of yet, however simply stripping the functionality out that makes use of this would be the first step.

Steps to Reproduce

  1. Use the plugin.
  2. Submit an App to the store.
  3. Get rejected.

Context

I was trying to submit an App (infact, many Apps that use this plugin), all of the Apps had the same rejection today.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
mauron85commented, Sep 11, 2018

PR was merged and version 2.3.6 has been released.

3reactions
activemapper-teamworkcommented, Jul 26, 2018

I am stuck with v2.3.5 as I am using Ionic platform, and they are not ready for v3+ yet… We really need you to comment the prefs:root line in version 2.3.5 for any Ionic apps to use background-geo… please do this for us!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"prefs:root=" non-public URL scheme | Apple Developer Forums
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...
Read more >
ios app store rejection - Your app uses the "prefs:root=" non ...
1 - Performance - Software Requirements Your app uses the "prefs:root=" non-public URL scheme, which is a private entity. The use of non-public ......
Read more >
App Store Rejection - Prefs Non-Public URL Scheme · Issue #1
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...
Read more >
Your app uses the "prefs:root=" non-public URL ... - YouTube
iOS : ios app store rejection - Your app uses the " prefs :root=" non-public URL scheme [ Beautify Your Computer ...
Read more >
My app rejected because uses the "prefs:root=" non-public ...
Solution is: you have to remove prefs:root non-public url scheme and you can give alert message to user for location enable. see below...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found