sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Disable unused APIs for App Store w/preprocessor macros #115

Closed rlaferla closed 5 years ago

rlaferla commented 5 years ago

There should be preprocessor macros to configure which permissions are used by the application. Otherwise, any application that uses SPPermission may get rejected by Apple's App Store because it uses frameworks that the application doesn't need/use.

ivanvorobei commented 5 years ago

I am upload new version 4.0. Please, update. Also see Readme for integrate need modules.