Skillshub ios-notifications

Push notifications for iOS using UserNotifications framework and APNS. Use when integrating APNS push notifications in iOS applications. (triggers: **/*Notification*.swift, **/*AppDelegate.swift, UNUserNotificationCenter, APNS, UNNotificationRequest, deviceToken)

install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/HoangNguyen0403/agent-skills-standard/ios-notifications" ~/.claude/skills/comeonoliver-skillshub-ios-notifications && rm -rf "$T"
manifest: skills/HoangNguyen0403/agent-skills-standard/ios-notifications/SKILL.md
source content

iOS Notifications

Priority: P2 (OPTIONAL)

Push notifications using UserNotifications framework and APNs.

Guidelines

  • Framework: Use
    UserNotifications
    for all notification handling.
  • Delegate: Implement
    UNUserNotificationCenterDelegate
    for foreground & tap handling.
  • Permissions: Request
    .alert
    ,
    .badge
    ,
    .sound
    after priming the user.
  • APNs: Register for remote notifications in
    AppDelegate
    .
  • Badges: Manage app icon badges manually (set to 0 to clear).

Anti-Patterns

  • No Unconditional Requests: Explain value proposition before system dialog.
  • No Missing Delegate: Notifications won't trigger foreground callbacks without it.
  • No Forgotten Badge Clear: User frustration increases if badges persist.

References