diff --git a/README.md b/README.md index 57314485..8ec73b8c 100644 --- a/README.md +++ b/README.md @@ -1653,6 +1653,121 @@ Support levels: +## Supported UserNotifications + +Skip integrates its support for the UserNotifications framework into SkipUI. + +The following table summarizes SkipUI's UserNotifications support on Android. Anything not listed here is likely not supported. Note that in your iOS-only code - i.e. code within `#if !SKIP` blocks - you can use any UserNotifications API you want. + +Support levels: + + - ✅ – Full + - 🟢 – High + - 🟡 – Medium + - 🟠 – Low + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SupportAPI
🟡 +
+ UNAuthorizationOptions +
    +
  • Ignored on Android
  • +
+
+
🟡 +
+ UNMutableNotificationContent +
    +
  • See `UNNotificationContent`
  • +
+
+
UNNotification
🟡 +
+ UNNotificationContent +
    +
  • Only `title`, `body`, `userInfo`, and `public.image`-type attachments are used
  • +
+
+
🟡 +
+ UNNotificationPresentationOptions +
    +
  • Only `.banner` and `.alert` are used
  • +
+
+
UNNotificationRequest
UNNotificationResponse
🟡 +
+ UNNotificationSound +
    +
  • Ignored on Android
  • +
+
+
🟡 +
+ UNNotificationTrigger +
    +
  • Ignored on Android
  • +
+
+
🟠 +
+ UNUserNotificationCenter +
    +
  • static func current() -> UNUserNotificationCenter
  • +
  • func requestAuthorization(options: UNAuthorizationOptions) async throws -> Bool
  • +
  • var delegate: (any UNUserNotificationCenterDelegate)?
  • +
  • func add(_ request: UNNotificationRequest) async throws
  • +
  • The `add` function ignores all scheduling and repeat options and simply delivers the notification immediately.
  • +
+
+
UNUserNotificationCenterDelegate
## Topics