Skip to content

Commit

Permalink
Add identify for string arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ps2 committed Jun 27, 2023
1 parent c4345c0 commit cad6120
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AmplitudeServiceKit/AmplitudeService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cad6120

Please sign in to comment.