Skip to content

Commit

Permalink
revert swift calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mrehan27 committed Nov 20, 2024
1 parent 5d7a7f3 commit d1525d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/wrappers/CioRctWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)
}

Expand Down

0 comments on commit d1525d8

Please sign in to comment.