Skip to content

fix: ensure user attributes are applied before proceeding with Rokt execution #585

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

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

Mansi-mParticle
Copy link
Collaborator

@Mansi-mParticle Mansi-mParticle commented Jun 16, 2025

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 update makes sure that user attributes are fully saved before moving to the next step.
    It uses a callback with getUserAttributes to wait until the data is ready.
    This helps avoid problems where Rokt tries to use user info before it's updated.

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)

Copy link
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.

minor nit

@Mansi-mParticle Mansi-mParticle force-pushed the fix/SQDSDKS-7406-make-setuser-async branch from b0b4ff0 to 41014f2 Compare June 17, 2025 13:56
@Mansi-mParticle Mansi-mParticle requested a review from rmi22186 June 17, 2025 13:58
@Mansi-mParticle Mansi-mParticle merged commit df0450e into development Jun 17, 2025
69 of 77 checks passed
@Mansi-mParticle Mansi-mParticle deleted the fix/SQDSDKS-7406-make-setuser-async branch June 17, 2025 20:06
mparticle-automation added a commit that referenced this pull request Jun 17, 2025
## [5.69.0](v5.68.0...v5.69.0) (2025-06-17)

### Features

* Always set the wrapperSdkVersion in KitManager ([#584](#584)) ([a473157](a473157))

### Bug Fixes

* ensure user attributes are applied before proceeding with Rokt execution ([#585](#585)) ([df0450e](df0450e))
@mparticle-automation
Copy link
Collaborator

🎉 This PR is included in version 5.69.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.

3 participants