From 1033ef6d23799637f21ff563b5836853b90159b3 Mon Sep 17 00:00:00 2001 From: Brandon Stalnaker <33703490+BrandonStalnaker@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:54:07 -0500 Subject: [PATCH] feat: Use replaceSkuWithProductName (#101) --- Sources/mParticle-Appboy/MPKitAppboy.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/mParticle-Appboy/MPKitAppboy.m b/Sources/mParticle-Appboy/MPKitAppboy.m index 0870e1c..e50f343 100644 --- a/Sources/mParticle-Appboy/MPKitAppboy.m +++ b/Sources/mParticle-Appboy/MPKitAppboy.m @@ -16,7 +16,7 @@ static NSString *const emailIdTypeKey = @"emailIdentificationType"; static NSString *const enableTypeDetectionKey = @"enableTypeDetection"; static NSString *const bundleCommerceEventData = @"bundleCommerceEventData"; -static NSString *const replaceSkuAsProductName = @"forwardSkuAsProductName"; +static NSString *const replaceSkuWithProductName = @"replaceSkuWithProductName"; // The possible values for userIdentificationType static NSString *const userIdValueOther = @"Other"; @@ -552,7 +552,7 @@ - (MPKitExecStatus *)routeCommerceEvent:(MPCommerceEvent *)commerceEvent { } NSString *sanitizedProductName = product.sku; - if ([@"True" isEqualToString:_configuration[replaceSkuAsProductName]]) { + if ([@"True" isEqualToString:_configuration[replaceSkuWithProductName]]) { sanitizedProductName = product.name; }