Skip to content

Comments

feat: Add Rokt First Party Kit Support#339

Merged
BrandonStalnaker merged 7 commits intodevelopmentfrom
feat/SQDSDKS-7156-Add-Rokt-First-Party-Kit-Support
Apr 2, 2025
Merged

feat: Add Rokt First Party Kit Support#339
BrandonStalnaker merged 7 commits intodevelopmentfrom
feat/SQDSDKS-7156-Add-Rokt-First-Party-Kit-Support

Conversation

@BrandonStalnaker
Copy link
Collaborator

Summary

  • Added MPRokt class with executeWithViewName method that call down into the Rokt sdk through the Rokt kit integrations

Testing Plan

  • Was this tested locally? If not, explain why.
  • Still in the process of testing (need the changes to both core and the kit integration to full test)

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

@BrandonStalnaker BrandonStalnaker self-assigned this Mar 21, 2025
@BrandonStalnaker BrandonStalnaker force-pushed the feat/SQDSDKS-7156-Add-Rokt-First-Party-Kit-Support branch from d808c5c to 43618c4 Compare March 28, 2025 19:00
- (nonnull MPKitExecStatus *)executeWithViewName:(NSString * _Nullable)viewName
attributes:(NSDictionary<NSString *, NSString *> * _Nonnull)attributes
placements:(NSDictionary<NSString *, id> * _Nullable)placements
onLoad:(void (^ _Nullable)(void))onLoad onUnLoad:(void (^ _Nullable)(void))onUnLoad
Copy link
Member

Choose a reason for hiding this comment

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

onUnLoad should be on the next line

});
}

+ (NSDictionary<NSString *, NSString *> *) mapUserAttributes:(NSDictionary<NSString *, NSString *> * _Nonnull)attributes mappingDictionary:(NSDictionary<NSString *, NSString *> *)mappingDictionary {
Copy link
Member

Choose a reason for hiding this comment

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

colon align

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

rarely do we colon align with only 2 parameters but I do agree it looks nice so 🤷

@BrandonStalnaker BrandonStalnaker force-pushed the feat/SQDSDKS-7156-Add-Rokt-First-Party-Kit-Support branch from e702cdc to 5785e39 Compare April 1, 2025 17:03
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.

LGTM! just 1 pending comment for @danial-rokt

@BrandonStalnaker BrandonStalnaker merged commit 9bb2e2d into development Apr 2, 2025
12 checks passed
@BrandonStalnaker BrandonStalnaker deleted the feat/SQDSDKS-7156-Add-Rokt-First-Party-Kit-Support branch April 2, 2025 19:08
mparticle-automation added a commit that referenced this pull request Apr 2, 2025
# [8.29.0](v8.28.1...v8.29.0) (2025-04-02)

### Features

* Add Rokt First Party Kit Support ([#339](#339)) ([9bb2e2d](9bb2e2d))
@mparticle-automation
Copy link
Contributor

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