diff --git a/Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift b/Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift index 3f84dfa3..2ae91a60 100644 --- a/Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift +++ b/Sources/Spezi/Capabilities/Notifications/NotificationHandler.swift @@ -79,10 +79,12 @@ extension NotificationHandler { } #if !os(macOS) + /// Empty default implementation. public func receiveRemoteNotification(_ remoteNotification: [AnyHashable: Any]) async -> BackgroundFetchResult { .noData } #else + /// Empty default implementation. public func receiveRemoteNotification(_ remoteNotification: [AnyHashable: Any]) {} #endif }