Swiftpack.co - ChadGarrett/PermissionHelper as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ChadGarrett.
ChadGarrett/PermissionHelper v1.1.0
Swift package for requesting different device permissions
⭐️ 0
🕓 1 year ago
.package(url: "https://github.com/ChadGarrett/PermissionHelper.git", from: "v1.1.0")


This package can be used as unified way of requesting different types of device permissions for an application.


  • Supports Swift 5.3+, XCode 12.5+ and iOS10+.
  • Check and request permission for the following device features
    • Calendar
    • Camera
    • Contacts
    • Microphone
    • Music
    • Notifications
    • Photos
    • Reminders
    • Siri

Missing features (coming soon)

  • Individually package each permission as a product to avoid apps being rejected for having too many permission requests
  • Safety check that the info.plist contains the relevant permission asks


In Xcode, go to File > Swift Packages > Add package dependency and enter: https://github.com/ChadGarrett/PermissionHelper.git.


Stars: 0
Last commit: 1 year ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Release v1.1.0
1 year ago

Moved all permissions into their own products to be imported as needed.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics