Skip to content

Commit

Permalink
fix(badge): import UserNotifications to support MacOS (#27)
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Genz <mail@robingenz.dev>
kainosnoema and robingenz authored Apr 13, 2023

Verified

This commit was signed with the committer’s verified signature.
sdispater Sébastien Eustace
1 parent cabc0a6 commit 8bbaee3
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-kids-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@capawesome/capacitor-badge": patch
---

fix(badge): import `UserNotifications` to support MacOS
1 change: 1 addition & 0 deletions packages/badge/ios/Plugin/Badge.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Foundation
import Capacitor
import UserNotifications

@objc public class Badge: NSObject {
private var config: BadgeConfig

0 comments on commit 8bbaee3

Please sign in to comment.