diff --git a/TidepoolServiceKit/TidepoolService.swift b/TidepoolServiceKit/TidepoolService.swift index 79be649..3d5f821 100644 --- a/TidepoolServiceKit/TidepoolService.swift +++ b/TidepoolServiceKit/TidepoolService.swift @@ -612,14 +612,13 @@ extension TidepoolService: RemoteDataService { throw error } } - - public func commandFromPushNotification(_ notification: [String: AnyObject]) async throws -> RemoteCommand { - - enum TidepoolPushNotificationError: LocalizedError { - case remoteCommandsNotSupported - } - - throw TidepoolPushNotificationError.remoteCommandsNotSupported + + public func remoteNotificationWasReceived(_ notification: [String: AnyObject]) async throws { + throw RemoteNotificationError.remoteCommandsNotSupported + } + + enum RemoteNotificationError: LocalizedError { + case remoteCommandsNotSupported } }