Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ NotificationManager.removeAllDeliveredNotificationRequests()
Badge updates are available on iOS 16+, macOS 13+, and visionOS 1+:

```swift
try await NotificationManager.setBadge(badge: 3)
try await NotificationManager.resetBadge()
if #available(iOS 16.0, macOS 13.0, visionOS 1.0, *) {
try await NotificationManager.setBadge(badge: 3)
try await NotificationManager.resetBadge()
}
```

## Contributing
Expand Down
Loading