Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report error ios 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 #810

Closed
juanjues19 opened this issue Oct 22, 2018 · 8 comments
Labels

Comments

@juanjues19
Copy link

Your Environment

  • Plugin version: 2.12.2
  • Platform: iOS
  • OS version:
  • Device manufacturer / model:
  • Cordova version (cordova -v): 7.1.0
  • Cordova platform version (cordova platform ls): 4.5.2
  • Plugin config

Expected Behavior

Actual Behavior

when we want to up the app to app store, they do not allow it because:

IOS answerd:
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

Steps to Reproduce

  1. the app works good in local environment.

Context

using tracking when phone is blocked.

Debug logs

@christocracy
Copy link
Member

$ cordova plugins

@juanjues19
Copy link
Author

Regards.
tks, christo















@juanjues19
Copy link
Author

**

<plugin name="cordova-plugin-camera" spec="^2.4.1" />
<plugin name="cordova-plugin-file" spec="^4.3.3" />
<plugin name="cordova-plugin-compat" spec="^1.1.0" />
<plugin name="cordova-plugin-file-transfer" spec="^1.6.3" />
<plugin name="cordova-plugin-media" spec="^3.0.1" />
<plugin name="cordova-plugin-media-capture" spec="^1.4.3" />
<plugin name="cordova-plugin-geolocation" spec="^2.4.3" />
<plugin name="cordova.plugins.diagnostic" spec="^3.6.7" />
<plugin name="cordova-plugin-network-information" spec="^1.3.3" />
<plugin name="cordova-plugin-qrscanner" spec="^2.5.0" />
<plugin name="cordova-plugin-dialogs" spec="^1.3.3" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="Accelerometer" />
<plugin name="cordova-plugin-device-motion" spec="^1.2.5" />
<plugin name="cordova-background-geolocation-lt" spec="^2.12.2">**

@christocracy
Copy link
Member

My plugin does not use prefs:root=" non-public URL scheme.

This is an error commonly reported by the Mauron85 fork of my plugin when attempting to link to the iOS Settings screen for Location Services.

My plugin has always used the publicly documented UIApplicationOpenSettingsURLString

NSURL *settingsURL = [NSURL URLWithString:UIApplicationOpenSettingsURLString];

Your error is caused by one of your other plugins.

@christocracy
Copy link
Member

Your issue is due to cordova-diagnostic-plugin

@juanjues19
Copy link
Author

sorry chis i am not a expert , but what plugin is Mauron85, because we do not use this plugin

@christocracy
Copy link
Member

but what plugin is Mauron85, because we do not use this plugin

Forget about it. It was an example. Your problem is with cordova-diagnostic-plugin, as I said.

@juanjues19
Copy link
Author

ok chris, tks for your help and time.
nice day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants