# App rejected from Apple store

**URL:** <https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998>\
**Category:** ionic-v3\
**Created:** [August 20, 2018, 9:09am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998 "2018-08-20T09:09:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![soumenmanna](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@soumenmanna](https://forum.ionicframework.com/u/soumenmanna)\
**Post date:** [August 20, 2018, 9:09am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/1 "2018-08-20T09:09:31Z")

</div>

Hello  
After i submit ionic App to IOS App store it showing binary rejection. And also showing the following issues.

**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.

How to solve this issue.

 ![image1%20(1)](https://global.discourse-cdn.com/ionicframework/original/3X/9/b/9bd34a3114d77b3613e664903cb7398c93385690.png)

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 20, 2018, 9:58am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/2 "2018-08-20T09:58:52Z")

</div>

> [@soumenmanna](#):
>
> Your app uses the “prefs:root=” non-public URL scheme

How and where are you using that? Why?

---

<div class="post-metadata">

**Author:** ![soumenmanna](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@soumenmanna](https://forum.ionicframework.com/u/soumenmanna)\
**Post date:** [August 20, 2018, 10:14am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/3 "2018-08-20T10:14:49Z")

</div>

Where can i find the uses of “prefs:root=” non-public URL scheme ?

---

<div class="post-metadata">

**Author:** ![AaronSterling](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AaronSterling](https://forum.ionicframework.com/u/AaronSterling)\
**Post date:** [August 20, 2018, 10:19am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/4 "2018-08-20T10:19:44Z")

</div>

> Go to your project’s target -\> then Info -\> then URL Types, there you should find URL Schemes with value like ‘perfs’ or ‘perfs:root’

from this StackOverflow answer: [xcode - ios app store rejection - Your app uses the "prefs:root=" non-public URL scheme - Stack Overflow](https://stackoverflow.com/a/51282521)

Your problem is strange. So I find it interesting! But it doesn’t happen normally. Maybe you’re using some weird library?

---

<div class="post-metadata">

**Author:** ![soumenmanna](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@soumenmanna](https://forum.ionicframework.com/u/soumenmanna)\
**Post date:** [August 21, 2018, 7:53am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/5 "2018-08-21T07:53:36Z")

</div>

Hello @Sujan12 @AaronSterling  
URL scheme value show prefs  
what to do next?

![2018-08-21](https://global.discourse-cdn.com/ionicframework/original/3X/9/4/948baed0957131141f99ba16c5bf5026b41742bd.png)

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 21, 2018, 8:00am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/6 "2018-08-21T08:00:20Z")

</div>

Create a new Ionic project with `ionic start` and see if this is present there as well.

If it is not, you know that somehow you or one of the plugins you use added this. You can try to find out which one, or just remove it and see if everything still works.

What is your `ionic info` output?

---

<div class="post-metadata">

**Author:** ![soumenmanna](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@soumenmanna](https://forum.ionicframework.com/u/soumenmanna)\
**Post date:** [August 21, 2018, 8:13am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/7 "2018-08-21T08:13:40Z")

</div>

Hello @Sujan12

`ionic info` output  
cli packages: (/usr/local/lib/node\_modules)

```
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1

```

global packages:

```
cordova (Cordova CLI) : 7.1.0 

```

local packages:

```
@ionic/app-scripts : 3.1.6
Cordova Platforms : ios 4.5.4
Ionic Framework : ionic-angular 3.9.2

```

System:

```
ios-deploy : 1.9.2 
Node : v8.9.0
npm : 5.7.1 
OS : macOS High Sierra

```

Environment Variables:

```
ANDROID_HOME : not set

```

Misc:

```
backend : pro

```

And plugin list

\>

```auto
cordova plugin ls
com.synconset.imagepicker 2.1.8 "ImagePicker"
cordova-open-native-settings 1.5.1 "Native settings"
cordova-plugin-add-swift-support 1.6.0 "AddSwiftSupport"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-background-mode 0.7.2 "BackgroundMode"
cordova-plugin-badge 0.8.7 "Badge"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-fcm 2.1.2 "FCMPlugin"
cordova-plugin-file 5.0.0 "File"
cordova-plugin-file-transfer 1.7.0 "File Transfer"
cordova-plugin-geofence 0.7.0 "geofence"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-inappbrowser 2.0.2 "InAppBrowser"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
cordova-plugin-mauron85-background-geolocation 2.3.5 "CDVBackgroundGeolocation"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.3.0 "StatusBar"
cordova-plugin-stripe 1.5.3 "cordova-plugin-stripe"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova.plugins.diagnostic 4.0.5 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
mx.ferreyra.callnumber 0.0.2 "Cordova Call Number Plugin"

```

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 21, 2018, 8:15am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/8 "2018-08-21T08:15:35Z")

</div>

I would search the `plugins` folder for the string “prefs” as a simple start to trying to find out if this is added by a plugin. And of course do what I wrote above as well.

---

<div class="post-metadata">

**Author:** ![Kyrax80](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kyrax80](https://forum.ionicframework.com/u/Kyrax80)\
**Post date:** [August 21, 2018, 8:27am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/9 "2018-08-21T08:27:29Z")

</div>

Or maybe just on the whole project with some program that allows you to do that like VS Code

---

<div class="post-metadata">

**Author:** ![prollygeek](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/prollygeek/32/101552_2.png) [@prollygeek](https://forum.ionicframework.com/u/prollygeek)\
**Post date:** [October 4, 2018, 2:31am UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/10 "2018-10-04T02:31:30Z")

</div>

cordova-plugin-mauron85-background-geolocation 2.3.5 “CDVBackgroundGeolocation”

is the problem

---

<div class="post-metadata">

**Author:** ![yanYan](https://avatars.discourse-cdn.com/v4/letter/y/258eb7/32.png) [@yanYan](https://forum.ionicframework.com/u/yanYan)\
**Post date:** [October 10, 2018, 4:58pm UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/11 "2018-10-10T16:58:43Z")

</div>

Hello ,  
My app has been rejected today because i am using the background location plugin ,  
the rejection cause from apple is :  
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.

Do you have any updated of background geolocation plugin or a solution to fix it ?  
Thank you in advance for your help

---

<div class="post-metadata">

**Author:** ![gwyn](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gwyn](https://forum.ionicframework.com/u/gwyn)\
**Post date:** [October 15, 2018, 12:27pm UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/12 "2018-10-15T12:27:59Z")

</div>

You can simply remove the openURL call from LocationManager.m in the plugin if you can’t update to 2.3.6.

> <https://github.com/mauron85/cordova-plugin-background-geolocation/issues/454#issuecomment-418992374>

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:22pm UTC](https://forum.ionicframework.com/t/app-rejected-from-apple-store/138998/13 "2021-07-19T21:22:58Z")

</div>

Closed on July 19, 2021, 9:22pm UTC


