From cad61203b44514c39060f3aaa58e7bf225d5c118 Mon Sep 17 00:00:00 2001 From: Pete Schwamb Date: Tue, 27 Jun 2023 09:46:32 -0500 Subject: [PATCH] Add identify for string arrays --- AmplitudeServiceKit/AmplitudeService.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AmplitudeServiceKit/AmplitudeService.swift b/AmplitudeServiceKit/AmplitudeService.swift index c865b5a..673d06c 100644 --- a/AmplitudeServiceKit/AmplitudeService.swift +++ b/AmplitudeServiceKit/AmplitudeService.swift @@ -73,6 +73,10 @@ extension AmplitudeService: AnalyticsService { public func recordIdentify(_ property: String, value: String) { client?.identify(AMPIdentify().set(property, value: value as NSString)) } + + public func recordIdentify(_ property: String, array: [String]) { + client?.identify(AMPIdentify().set(property, value: array as NSArray)) + } } extension KeychainManager {