From d1525d837e18d57cc5ad5b5b55a73a82b0a42014 Mon Sep 17 00:00:00 2001 From: Rehan Date: Wed, 20 Nov 2024 16:02:44 +0500 Subject: [PATCH] revert swift calls --- ios/wrappers/CioRctWrapper.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/wrappers/CioRctWrapper.swift b/ios/wrappers/CioRctWrapper.swift index d867a907..e8499152 100644 --- a/ios/wrappers/CioRctWrapper.swift +++ b/ios/wrappers/CioRctWrapper.swift @@ -40,7 +40,7 @@ class CioRctWrapper: NSObject { } @objc - func identify(_ userId: String?, _ traits: [String: Any]?) { + func identify(_ userId: String?, traits: [String: Any]?) { if let userId = userId { CustomerIO.shared.identify(userId: userId, traits: traits) } else if traits != nil { @@ -60,12 +60,12 @@ class CioRctWrapper: NSObject { } @objc - func track(_ name: String, _ properties: [String: Any]?) { + func track(_ name: String, properties: [String: Any]?) { CustomerIO.shared.track(name: name, properties: properties) } @objc - func screen(_ title: String, _ properties: [String: Any]?) { + func screen(_ title: String, properties: [String: Any]?) { CustomerIO.shared.screen(title: title, properties: properties) }