-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Map selected identity to #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
feat: Map selected identity to #58
Conversation
c31464a
to
357b352
Compare
357b352
to
9b82749
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
) | ||
val hashedField = RoktKit::class.java.getDeclaredField("hashedEmailUserIdentityType") | ||
hashedField.isAccessible = true | ||
hashedField.set(roktKit, "UNASSIGNED") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be Unknown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/mparticle-by-rokt/mPServer/pull/35784/files
I copied from Brian's PR in order to keep it consistent
IdentityType.Other -> "Other" | ||
IdentityType.CustomerId -> "CustomerId" | ||
IdentityType.Facebook -> "Facebook" | ||
IdentityType.Twitter -> "Twitter" | ||
IdentityType.Google -> "Google" | ||
IdentityType.Microsoft -> "Microsoft" | ||
IdentityType.Yahoo -> "Yahoo" | ||
IdentityType.Email -> "Email" | ||
IdentityType.Alias -> "Alias" | ||
IdentityType.FacebookCustomAudienceId -> "FacebookCustomAudienceId" | ||
IdentityType.Other2 -> "Other2" | ||
IdentityType.Other3 -> "Other3" | ||
IdentityType.Other4 -> "Other4" | ||
IdentityType.Other5 -> "Other5" | ||
IdentityType.Other6 -> "Other6" | ||
IdentityType.Other7 -> "Other7" | ||
IdentityType.Other8 -> "Other8" | ||
IdentityType.Other9 -> "Other9" | ||
IdentityType.Other10 -> "Other10" | ||
IdentityType.MobileNumber -> "MobileNumber" | ||
IdentityType.PhoneNumber2 -> "PhoneNumber2" | ||
IdentityType.PhoneNumber3 -> "PhoneNumber3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason you reverted to capitalizing?
the attributes on rokt's site are all lowercase (and I'm not sure if casing matters)
https://docs.rokt.com/developers/integration-guides/rokt-ads/web-sdk/attributes/
Instructions
development
Summary
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)