Skip to content

feat: Handle hashed email for rokt#599

Merged
Mansi-mParticle merged 8 commits intodevelopmentfrom
feat/SQDSDKS-7556-hashed-email-for-rokt
Aug 1, 2025
Merged

feat: Handle hashed email for rokt#599
Mansi-mParticle merged 8 commits intodevelopmentfrom
feat/SQDSDKS-7556-hashed-email-for-rokt

Conversation

@Mansi-mParticle
Copy link
Copy Markdown
Collaborator

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • This PR includes changes to handle other before calling the Identity API and invoking the Rokt Kit.

Testing Plan

  • Was this tested locally? If not, explain why.
  • Tested with sample app

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

@Mansi-mParticle Mansi-mParticle requested a review from a team as a code owner July 28, 2025 14:36
@Mansi-mParticle Mansi-mParticle requested review from a team, BrandonStalnaker and rmi22186 and removed request for a team July 28, 2025 14:36
rmi22186
rmi22186 previously approved these changes Jul 28, 2025
Copy link
Copy Markdown
Member

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic looks good. Not sure why there were a lot of mockito updates to the rest of the file, but LGTM overall

Comment thread android-kit-base/src/main/java/com/mparticle/kits/KitManagerImpl.java Outdated
@Mansi-mParticle Mansi-mParticle requested a review from rmi22186 July 30, 2025 16:42
@Mansi-mParticle Mansi-mParticle force-pushed the feat/SQDSDKS-7556-hashed-email-for-rokt branch from b4f7410 to c2f7341 Compare July 30, 2025 16:54
Comment thread android-kit-base/src/main/java/com/mparticle/kits/KitManagerImpl.java Outdated
Comment thread android-kit-base/src/main/java/com/mparticle/kits/KitManagerImpl.java Outdated
Comment thread android-kit-base/src/main/java/com/mparticle/kits/KitManagerImpl.java Outdated
Copy link
Copy Markdown
Member

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a test for this scenario:

If other is a current identity, and the developer passes emailsha256 attribute with a different value from other identity to selectPlacements, log a warning to the user, and call identify with other using the value from emailsha256

@Mansi-mParticle Mansi-mParticle requested a review from rmi22186 July 31, 2025 16:36
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Mansi-mParticle Mansi-mParticle merged commit cd5f970 into development Aug 1, 2025
15 of 16 checks passed
@Mansi-mParticle Mansi-mParticle deleted the feat/SQDSDKS-7556-hashed-email-for-rokt branch August 1, 2025 15:21
mparticle-automation added a commit that referenced this pull request Aug 4, 2025
## [5.72.0](v5.71.0...v5.72.0) (2025-08-04)

### Features

* Handle hashed email for rokt ([#599](#599)) ([cd5f970](cd5f970))

### Bug Fixes

* Print domain mapping logs only once per session ([#598](#598)) ([0d7e62e](0d7e62e))

### Updates & Maintenance

* Update submodules ([7922018](7922018))
@mparticle-automation
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 5.72.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants