From d61f270e7941647adabfe47f1c180635fa30ab65 Mon Sep 17 00:00:00 2001 From: Satheesh Kannan Date: Thu, 13 Jun 2024 13:17:42 +0530 Subject: [PATCH] chore: add PR comment fixes --- Rudder-CustomerIO.podspec | 12 ++++++------ .../Classes/RudderCustomerIOIntegration.swift | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Rudder-CustomerIO.podspec b/Rudder-CustomerIO.podspec index cd30c9d..dcaacfb 100644 --- a/Rudder-CustomerIO.podspec +++ b/Rudder-CustomerIO.podspec @@ -26,12 +26,12 @@ Pod::Spec.new do |s| s.static_framework = true s.ios.deployment_target = deployment_target -# if defined?($CustomerIOSDKVersion) -# Pod::UI.puts "#{s.name}: Using user specified CustomerIO SDK version '#{$CustomerIOSDKVersion}'" -# customerio_sdk_version = $CustomerIOSDKVersion -# else -# Pod::UI.puts "#{s.name}: Using default CustomerIO SDK version '#{CustomerIOSDKVersion}'" -# end + if defined?($CustomerIOSDKVersion) + Pod::UI.puts "#{s.name}: Using user specified CustomerIO SDK version '#{$CustomerIOSDKVersion}'" + customerio_sdk_version = $CustomerIOSDKVersion + else + Pod::UI.puts "#{s.name}: Using default CustomerIO SDK version '#{customerio_sdk_version}'" + end if defined?($RudderSDKVersion) Pod::UI.puts "#{s.name}: Using user specified Rudder SDK version '#{$RudderSDKVersion}'" diff --git a/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift b/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift index bbaccd3..a040b62 100644 --- a/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift +++ b/Rudder-CustomerIO/Classes/RudderCustomerIOIntegration.swift @@ -14,7 +14,7 @@ private struct ServerConfigKey { static let apiKey = "apiKey" static let siteID = "siteID" static let autoTrackDeviceAttributes = "autoTrackDeviceAttributes" - static let dataCenter = "dataCenter" + static let dataCenter = "datacenter" static let autoTrackScreenViews = "autoTrackScreenViews" static let trackApplicationLifecycleEvents = "trackApplicationLifecycleEvents" static let logLevel = "logLevel"