Skip to content

feat: Add Braze SDK 40 kit (braze-40)#679

Merged
denischilik merged 2 commits intoworkstation/6.0-Releasefrom
feat/braze-40-kit
Mar 26, 2026
Merged

feat: Add Braze SDK 40 kit (braze-40)#679
denischilik merged 2 commits intoworkstation/6.0-Releasefrom
feat/braze-40-kit

Conversation

@denischilik
Copy link

@denischilik denischilik commented Mar 19, 2026

Background

Adds a new Braze integration kit for Braze Android SDK 40.x. Apps that need Braze SDK 40 can use com.mparticle:braze-40 alongside existing braze-38 and braze-39 kits.

What Has Changed

  • Added kits/braze/braze-40 with Braze android-sdk-ui:40.0.0
  • Unique SonarQube project key (mparticle-android-integration-appboy-40) and namespace (com.mparticle.kits.appboy40)
  • Maven artifact: com.mparticle:braze-40
  • Included in settings-kits.gradle

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Note

Medium Risk
Adds a brand-new Braze kit module (including push, identity, consent, and commerce forwarding logic) plus extensive tests; while isolated from existing kits, the surface area is large and could affect consumers adopting com.mparticle:braze-40.

Overview
Adds a new kits/braze/braze-40 module publishing com.mparticle:braze-40 and depending on Braze android-sdk-ui:40.0.0, with updated Gradle/SonarQube configuration, consumer ProGuard rules, and an integration README + example app.

Implements the Braze kit in AppboyKit.kt, covering event/screen forwarding, commerce event handling (including optional order-level bundling), user identity syncing, push token/notification handling, subscription group mapping, and consent-to-custom-attribute mapping. Includes a full suite of unit tests and mocks for the new module, and registers :kits:braze:braze-40 in settings-kits.gradle.

Written by Cursor Bugbot for commit d9de97d. This will update automatically on new commits. Configure here.

- Add kits/braze/braze-40 with Braze android-sdk-ui:40.0.0
- Unique SonarQube project key and namespace (appboy40)
- Maven artifact: com.mparticle:braze-40
- Include in settings-kits.gradle

Made-with: Cursor
@denischilik denischilik requested a review from a team as a code owner March 19, 2026 15:40
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Signed-off-by: denischilik <denis.chilik@rokt.com>
@cursor
Copy link

cursor bot commented Mar 26, 2026

PR Summary

Medium Risk
Adds a new integration module with substantial kit logic and build tooling changes; risk is mainly around dependency/Gradle compatibility and behavior differences versus existing Braze kit versions, but it is largely additive and isolated.

Overview
Introduces a new kits/braze/braze-40 module to support Braze Android SDK 40.0.0, including the full AppboyKit implementation, consumer ProGuard rules, and Gradle configuration (namespace com.mparticle.kits.appboy40, Java/Kotlin 17, SonarQube project key).

Adds an example app under braze-40 demonstrating dependency setup and push/deeplinking manifest requirements, and includes a comprehensive set of unit tests/mocks validating identity mapping, commerce/event forwarding, type detection, subscription groups, and consent-to-custom-attribute mapping.

Registers the new kit in settings-kits.gradle via :kits:braze:braze-40 so it builds alongside existing Braze kit versions.

Written by Cursor Bugbot for commit dd37d18. This will update automatically on new commits. Configure here.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
29.2% Duplication on New Code (required ≤ 3%)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@denischilik denischilik merged commit 45e0474 into workstation/6.0-Release Mar 26, 2026
21 of 23 checks passed
@denischilik denischilik deleted the feat/braze-40-kit branch March 26, 2026 14:57
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.

2 participants