Skip to content

Release: 2.34.0 - #260

Closed
uc-brunosilva wants to merge 2 commits into
masterfrom
bump/2.34.0
Closed

uc-brunosilva wants to merge 2 commits into
masterfrom
bump/2.34.0

Conversation

@uc-brunosilva

@uc-brunosilva uc-brunosilva commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

User description

Version bump to 2.34.0 and changelog entry.

  • Native Android (usercentrics-ui) and iOS (UsercentricsUI) 2.34.0 are published (Maven Central, CocoaPods trunk).
  • Lockfiles that depend on pod resolution (Podfile.lock) are not regenerated in this PR.

🤖 Generated with Claude Code


CodeAnt-AI Description

Release 2.34.0 adds consent-flow options and fixes SDK reliability

What Changed

  • Open the second consent layer directly on the Services or Vendors tab, with a fallback when that tab is unavailable.
  • Added Braze consent mediation on Android and iOS.
  • Fixed banner crashes, duplicate legal-link openings, and consent decisions being overwritten during initialization.
  • Fixed offline startup and cached settings issues; hidden services now appear consistently, and iOS consent toggles are visible.

Impact

✅ Direct access to Services and Vendors consent tabs
✅ More reliable consent decisions and offline startup
✅ Fewer banner crashes and duplicate legal-page openings
✅ Braze consent mediation on Android and iOS

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • New Features
    • Version 2.34.0 includes new iOS and mediation features.
  • Bug Fixes
    • Includes fixes specific to iOS and Android, as well as fixes shared across both platforms.

Version bump and changelog. Podfile.lock not regenerated: native 2.34.0 is not published yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codeant-ai

codeant-ai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

CodeAnt  CodeAnt Review Status

✅  Review completed

Status Commit Started (UTC) Finished (UTC)
✅  Reviewed your PR 2c69d56 Oct 29, 2026 · 10:49 10:52

@codeant-ai

codeant-ai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1
  • sample/ios/Podfile.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b3913c3-7484-40ec-8135-63949634837a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fa1093e4-16bd-4224-877c-6fdffdbc0c2b
Commits

Reviewing files that changed from the base of the PR and between 60a5d7d and 2c69d56.

Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 3
  • CHANGELOG.md
  • android/build.gradle.kts
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The 2.34.0 update adds release notes and sets the package, iOS package, and Android SDK versions to 2.34.0.

Changes: 2.34.0 Release Update

Layer / File(s) Summary
Document 2.34.0 release notes
CHANGELOG.md
The changelog lists iOS and mediation features, iOS and Android fixes, shared platform fixes, and an iOS chore.
Update package and Android SDK versions
package.json, android/build.gradle.kts
The package version, iOS package version, and Android SDK version change from 2.33.2 to 2.34.0.

Priority: Pending latest changes

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: islameldesoky95

Merge Risk: Moderate · previous review 2c69d

The sample’s committed iOS dependencies remain pinned to 2.33.2 while this release requires 2.34.0, putting sample installation and iOS CI at risk. Regenerate and commit the CocoaPods lockfile before merging.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title, "Release: 2.34.0," clearly identifies the release version update, which is the main change in the pull request.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (2 skipped: 2 unsupported.)

Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codeant-ai codeant-ai Bot added the size:S This PR changes 10-29 lines, ignoring generated files label Oct 29, 2026
@pantoaibot

pantoaibot Bot commented Oct 29, 2026

Copy link
Copy Markdown

PR Summary:

Release 2.34.0 — adds a tab-targeted iOS API to open the second layer, introduces Braze consent mediation, several platform bug fixes and behavior adjustments; bumps native and JS package versions and updates the changelog.

  • Features

    • iOS: new tab-targeted showSecondLayer API to open the second layer directly on a given tab (falls back to default if layout lacks that tab).
    • Mediation: Braze consent mediation added (automatic on Android; iOS requires registering a handler via UsercentricsCore.setBrazeConsentHandler).
  • Fixes / behavior changes

    • iOS: fixed SIGABRT crash when presenting the banner before SDK readiness or from a background thread.
    • Android: fixed second-layer legal links opening the URL twice per tap.
    • Android/iOS: fixed explicit decision being overridden by a stored implicit entry saved in the same second as initialization; fixed first-launch detection when controllerId is injected.
    • Android/iOS: fixed offline initialization stalling when the offline fallback throws and prevented an empty ETag from rolling back cached settings.
    • Android/iOS: fixed services hidden via the deprecated isHidden template flag being missing from the Services tab.
    • iOS/Android: Sentry crash reporting disabled on iOS and isolated from the host app’s Sentry on Android (behavioral change for integrators).
  • Chore

    • iOS: GDPR Category Consent now shows service and vendor-level toggles.
  • Build/version bumps

    • android/build.gradle.kts: usercentricsVersion updated to 2.34.0.
    • package.json: version and iosPackageVersion updated to 2.34.0.
    • CHANGELOG.md: added release notes for 2.34.0.
  • Notes for integrators

    • If you use Braze, update integration: Android is automatic; on iOS you must register the Braze consent handler.
    • If you rely on Sentry behavior, review the new isolation/disable behavior for mobile SDK reporting.

Reviewed by Panto AI

Comment thread android/build.gradle.kts Resolved
Comment thread package.json Resolved
Comment thread CHANGELOG.md Resolved
@pantoaibot

pantoaibot Bot commented Oct 29, 2026

Copy link
Copy Markdown

Reviewed up to commit:2c69d56ff5f0a9a40472e1b8de1839fa5e385b3a

Reviewed by Panto AI

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Comment thread CHANGELOG.md Resolved
@codeant-ai

codeant-ai Bot commented Oct 29, 2026

Copy link
Copy Markdown

CodeAnt  CodeAnt PR Risk

🟡  Medium Risk

  • The PR needs attention before merging.
  • The changelog advertises tab selection, but the React Native wrapper accepts BannerSettings, which has no tab-selection field.

Assessed commit: 14deb6249293

@uc-brunosilva uc-brunosilva mentioned this pull request Oct 29, 2026
@uc-brunosilva

Copy link
Copy Markdown
Collaborator Author

Superseded by #261 (official release/2.34.0 branch).

@qodo-code-review

qodo-code-review Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

Grey Divider

Sorry, something went wrong

We weren't able to complete the code review on our side. Please try again manually by commenting /agentic_review on this PR.

Grey Divider

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Release React Native SDK 2.34.0

⚙️ Configuration changes 📝 Documentation 🕐 10-20 Minutes

Grey Divider

AI Description

• Bump the package and native Android and iOS dependencies to 2.34.0.
• Update package and sample iOS lockfiles to match the release.
• Document upstream native SDK features and fixes; no React Native API changes are included.
Diagram

graph TD
  P["Package manifest"] --> N["npm lockfile"]
  P --> S["iOS podspec"] --> L["Sample Podfile.lock"] --> I["iOS SDK 2.34.0"]
  S --> I
  A["Android Gradle"] --> D["Android SDK 2.34.0"]
Loading
High-Level Assessment

Keep the explicit native version pins and regenerated sample Podfile.lock: they make the release versions consistent and the sample's resolved dependencies reproducible. The changelog describes upstream native behavior; this PR does not add corresponding React Native APIs.

Files changed (5) +29 / -13

Documentation (1) +16 / -0
CHANGELOG.mdDocument the 2.34.0 native SDK release +16/-0

Document the 2.34.0 native SDK release

• Adds release notes for native iOS consent-tab targeting, Braze mediation, reliability fixes, and UI changes. These are documented upstream behaviors, not implementations added to the React Native wrapper in this PR.

CHANGELOG.md

Other (4) +13 / -13
build.gradle.ktsPin Android Usercentrics UI to 2.34.0 +1/-1

Pin Android Usercentrics UI to 2.34.0

• Changes the version used by the Gradle dependency on 'com.usercentrics.sdk:usercentrics-ui' from 2.33.2 to 2.34.0.

android/build.gradle.kts

package.jsonSet package and iOS SDK versions to 2.34.0 +2/-2

Set package and iOS SDK versions to 2.34.0

• Bumps the published React Native package version and 'iosPackageVersion'. The podspec reads these fields to set its own version and pin 'UsercentricsUI'.

package.json

package-lock.jsonSynchronize npm package version +2/-2

Synchronize npm package version

• Updates the root and package entries to 2.34.0, matching 'package.json'.

package-lock.json

Podfile.lockResolve sample iOS pods at 2.34.0 +8/-8

Resolve sample iOS pods at 2.34.0

• Updates the sample's React Native pod and Usercentrics native pods to 2.34.0, including their spec checksums. Unlike the initial release commit's note, this lockfile is regenerated in the final diff.

sample/ios/Podfile.lock

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

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant