Swiftpack.co - Roberdan/PermissionsManagerSwiftUI as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Roberdan.
Roberdan/PermissionsManagerSwiftUI 1.0
Permissions Manager for SwiftUI
⭐️ 0
🕓 11 weeks ago
iOS macOS watchOS
.package(url: "https://github.com/Roberdan/PermissionsManagerSwiftUI.git", from: "1.0")

PermissionsManager Package for SwiftUI

(c) 2022 [email protected] for FightTheStroke Foundation (www.fightthestroke.org)

BSD-3 License

#Rely on latest SwiftUI Async Combine events

#Easy to use in your app: import PermissionsManager @StateObject private var permissionsManager: PermissionsManager = PermissionsManager.shared

init() {
        PermissionsManager.shared.personalize(appName: "App Name",
                                          supportEmail: "[email protected]",
                                          permissionsToHandle: [
                                            .notifications(isMandatory: true),
                                            .health(isMandatory: true),
                                            .criticalNotification(isMandatory: false),
                                            .speech(isMandatory: false),
                                            .microphone(isMandatory: false),
                                            .camera(isMandatory: false)

var body: View {
    if permissionsManager.canGoAhead {
} else {
    PermissionsManagerView(skippable: true)


#Expandable to new types is easy public class NewTypePermissionManager: PermissionManagerProtocol

#Localized in 17 languages


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

Release Notes

11 weeks ago

Super easy to use Permissions Manager for iOS and WatchOS in SwiftUI

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