From 7de7a7427af97f9c5a70fdb7d20b4cd67695768e Mon Sep 17 00:00:00 2001 From: Pete Date: Wed, 4 Dec 2024 17:42:45 +0000 Subject: [PATCH] Add missing Freemium PIR RMF enum --- .../Mappers/JsonToRemoteMessageModelMapper.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/RemoteMessaging/Mappers/JsonToRemoteMessageModelMapper.swift b/Sources/RemoteMessaging/Mappers/JsonToRemoteMessageModelMapper.swift index 7d7e83bc8..1699644ea 100644 --- a/Sources/RemoteMessaging/Mappers/JsonToRemoteMessageModelMapper.swift +++ b/Sources/RemoteMessaging/Mappers/JsonToRemoteMessageModelMapper.swift @@ -51,6 +51,7 @@ private enum AttributesKey: String, CaseIterable { case duckPlayerOnboarded case duckPlayerEnabled case messageShown + case isCurrentFreemiumPIRUser func matchingAttribute(jsonMatchingAttribute: AnyDecodable) -> MatchingAttribute { switch self { @@ -86,6 +87,7 @@ private enum AttributesKey: String, CaseIterable { case .duckPlayerOnboarded: return DuckPlayerOnboardedMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute) case .duckPlayerEnabled: return DuckPlayerEnabledMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute) case .messageShown: return MessageShownMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute) + case .isCurrentFreemiumPIRUser: return FreemiumPIRCurrentUserMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute) } } }