Skip to content

Notifications: iOS notificationSend is a stub #94

@proggeramlug

Description

@proggeramlug

perry_system_notification_send in crates/perry-ui-ios/src/lib.rs:1545 is an empty {}. The macOS twin in crates/perry-ui-macos/src/notifications.rs already wires UNUserNotificationCenter (with an NSUserNotification fallback for unbundled apps).

Scope

  • Port the macOS UNMutableNotificationContent + UNTimeIntervalNotificationTrigger + UNNotificationRequest + UNUserNotificationCenter.currentNotificationCenter path into the iOS crate.
  • requestAuthorizationWithOptions: needs to fire once at app launch (not per-send) — wire into perry-ui-ios/src/app.rs bootstrap.
  • Parity with the TS surface: notificationSend(title, body) in types/perry/system/index.d.ts:53.

Out of scope

Remote/push (separate ticket), scheduling, tap callbacks, background.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions