Closed jevonmao closed 3 years ago
Good day!
I have same issue maybe 3 years ago, because library shouldn't import all modules. You can check my Podspec
. When user install my library, will import only usage code (for location example) and don't imports other modules.
Thank you very much, you are such a kind and helpful person. I will probably implement a similar solution in my library.
Hi @ivanvorobei , I'm the owner and creator of PermissionsSwiftUI, a permission request and display library large inspired by your SPPermissions. Despite the different codebase and rewrite in SwiftUI, I believe this can be a common issue that both our libraries share.
Recent, a developer submitted a bug report to my library stating that:
TL;DR Due to App Store's review guidelines, any user data API referenced in code, even if not used must require an info.plist string. As a result, a permission request library would contain API references to all the different permissions, but most users only need some of the permissions. It will be redundant and inconvenient to add every single info.plist string.
In your README.md, you say that "If you use xliff localization export, keys will be create automatically." And you also provided all the privacy string keys. Does your library's users face similar issue of their apps using SPPermission being rejected from the App Store? If not, do you mind explaining in further detail how did you tackle this issue? How to automatically generate info.plist keys? Thank you very much for taking the time to read this, and I greatly appreciate any help or idea.