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
🕓 2 years ago
iOS
.package(url: "https://github.com/ChadGarrett/PermissionHelper.git", from: "v1.1.0")

PermissionHelper

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

Features

  • 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

Installation

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

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Release v1.1.0
2 years ago

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

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