guyromb / cordova-open-native-settings

Plugin to open native screens of iOS/android settings (maintained, end-2020)
http://gsrweb.net
MIT License
113 stars 107 forks source link

Fix reject iOS with this drastic message #37

Closed goinnn closed 6 years ago

goinnn commented 6 years ago

Fix reject iOS with this drastic message:

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.

Fix #36

I tested it in iOS 9 - iOS11 and this works