🔔 NotifKit
Overview
import NotifKit

NotifKit Overview

NotifKit is a wrapper Framework around OneSignal that allows you to easily create a push notifications workflow without a lot of setup.

Notifications Permission Sheet

Due to iOS policies, you can only ask for permission to send notifications once. If the user denies the permission, you can't ask for it again. This is why we have a built-in permission sheet that you can use to ask for permission to send notifications.

Once the user agrees to the permission, the system will present an alert conforming that decision. Otherwise, the Notifications Permission Sheet will send the user directly to the settings app to change the permissions.

You can call show the Notifications Permission sheet anytime by calling:

showNotificationsPermissionsSheet()

Note: The sheet will not be presented if the user has already granted the permission.

Notifications Permission Sheet