Skip to content

Commit

Permalink
Merge branch 'feature/cdp/identify-user' into feature/cdp/identify-us…
Browse files Browse the repository at this point in the history
…er-ios-module
  • Loading branch information
ami-aman committed Sep 2, 2024
2 parents 11adb8d + a5fc73b commit 404184b
Show file tree
Hide file tree
Showing 12 changed files with 15,195 additions and 3,779 deletions.
13,231 changes: 13,231 additions & 0 deletions Apps/APN/package-lock.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions Apps/APN/src/services/CustomerIOService.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ CustomerIO.initialize(config)
};

export const onUserLoggedIn = (user) => {
CustomerIO.identify(user.email, {
first_name: user.name,
email: user.email,
CustomerIO.identify({ id: user.email,
traits: {
first_name: user.name,
email: user.email,
}
});
};

Expand Down
2 changes: 1 addition & 1 deletion Apps/FCM/ios/Env.swift.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import Foundation

class Env {
static let siteId: String = "YourSiteId"
static let apiKey: String = "YourApiKey"
static let cdpApiKey: String = "YourCDPApiKey"
}
Loading

0 comments on commit 404184b

Please sign in to comment.