icerockdev / moko-permissions

Runtime permissions controls for mobile (android & ios) Kotlin Multiplatform development

Home Page:https://moko.icerock.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppStore connect rejects due to undescribed permissions

theHonzic opened this issue · comments

We've just been denied publishing to App Store Connect due to missing descriptions of permissions we do not use. We only use the location and coarse location permissions in the application. However we are asked to add description for NSContactsUsageDescription, NSMotionUsageDescription and NSBluetoothAlwaysUsageDescription.

Apple says this: "While your app might not use these APIs a purpose string is still required."

One way to fix this is by adding the values in info.plist, but doing this the app description will include permissions it does not use in the AppStore.

in our apps we just add mock description inside Info.plist and all ok.

someday library will be splitted by each permission, but now you can do same that we do.