Skip to content

feat: Add RoktConfig support#32

Merged
Mansi-mParticle merged 3 commits into
developmentfrom
feat/SQDSDKS-7385-add-RoktConfig-support
Jun 11, 2025
Merged

feat: Add RoktConfig support#32
Mansi-mParticle merged 3 commits into
developmentfrom
feat/SQDSDKS-7385-add-RoktConfig-support

Conversation

@Mansi-mParticle

Copy link
Copy Markdown
Contributor

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

  • Add support for RoktConfig in the Rokt MP 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)

Comment thread src/main/kotlin/com/mparticle/kits/RoktKit.kt Outdated
Comment thread src/main/kotlin/com/mparticle/kits/RoktKit.kt Outdated
Comment thread src/main/kotlin/com/mparticle/kits/RoktKit.kt Outdated
fontTypefaces: MutableMap<String, WeakReference<Typeface>>?,
filterUser: FilteredMParticleUser?
filterUser: FilteredMParticleUser?,
mpRoktConfig: RoktConfig?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
mpRoktConfig: RoktConfig?
mpRoktConfig: RoktConfig?,

Lint rules to add these automatically would be nice

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

KtLint currently isn't working in the repo from what I can tell. Bumping to version 12.3.0 of the plugin used fixes the issue but there are around 50 issues flagged

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I made this ticket to update KTKLint. We can prioritize it in the future for someone. It may make sense for right after or before the release once the purchaseFinalized API gets in bc I think that's the last one we need for release.

@BrandonStalnaker BrandonStalnaker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@rmi22186 rmi22186 left a comment

Copy link
Copy Markdown
Collaborator

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 28336cd into development Jun 11, 2025
16 checks passed
)
}

public fun mapToRoktConfig(config: RoktConfig): com.rokt.roktsdk.RoktConfig {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@Mansi-mParticle I know it's merged already but wondering if this really should be public?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't be public. I just made it public for testing and will change it back.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants