SwiftUI Notification Permissions View
A SwiftUI View for introducing and initiating a push notification system permissions request to the user.
Usage
NotificationPermissionsView(
interactor: .init(
didSelectEnable: {},
didSelectSkip: {}
)
)Features
- Supports light and dark device color schemes by default.
- Supports font scaling via Dynamic Type.
- Supports offline usage in SwiftUI Previews for easy debugging and testing.
Notes
- Use this view in tandem with
NotificationControllerto request permission authorization from the operating system.