Skip to content

Commit

Permalink
Use a valid email hash and the default match provider in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
JD557 committed Oct 3, 2024
1 parent a001835 commit 1787732
Showing 1 changed file with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ class MainActivity : AppCompatActivity() {
""".trimIndent()

Velocidi.getInstance().track(
UserId("user_email_hash", "email_sha256"),
// [email protected]
UserId(
"388c735eec8225c4ad7a507944dd0a975296baea383198aa87177f29af2c6f69",
"email_sha256",
),
eventJsonString,
)

Expand All @@ -50,16 +54,24 @@ class MainActivity : AppCompatActivity() {
)

Velocidi.getInstance().track(
UserId("user_email_hash", "email_sha256"),
// [email protected]
UserId(
"388c735eec8225c4ad7a507944dd0a975296baea383198aa87177f29af2c6f69",
"email_sha256",
),
JSONObject(eventJsonObj),
)
}

matchButton.setOnClickListener {
Velocidi.getInstance().match(
"someProvider",
"web",
listOf(
UserId("user_email_hash", "email_sha256"),
// [email protected]
UserId(
"388c735eec8225c4ad7a507944dd0a975296baea383198aa87177f29af2c6f69",
"email_sha256",
),
UserId("user_advertising_id", "gaid"),
),
)
Expand Down

0 comments on commit 1787732

Please sign in to comment.