Release: 2.27.3 - #221
Conversation
|
Skipping CodeAnt AI review — this PR is a back-merge between long-lived branches ( If you want to analyze this anyway (e.g. you resolved conflicts with new logic), comment |
📝 WalkthroughWalkthroughUpdates the published package version and iOS package version in ChangesRelease version bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
PR Summary by QodoRelease 2.27.3: bump JS, iOS, and Android version constants Description
High-Level Assessment
Files changed (2)
|
|
PR Summary: Release: 2.27.3 — version bump for Android and npm/iOS package
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@android/build.gradle.kts`:
- Line 1: The Android build variants are out of sync because build.gradle.kts
updates usercentricsVersion while build-legacy.gradle still uses
usercentrics_version at an older value; update the legacy constant too so both
Gradle paths reference the same Usercentrics SDK version and stay aligned.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 9877e5bb-ba12-4004-a62a-e9dca5d3265f
⛔ Files ignored due to path filters (3)
package-lock.jsonis excluded by!**/package-lock.jsonsample/ios/Podfile.lockis excluded by!**/*.locksample/package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (2)
android/build.gradle.ktspackage.json
| @@ -1,4 +1,4 @@ | |||
| val usercentricsVersion = "2.27.1" | |||
| val usercentricsVersion = "2.27.3" | |||
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Align Android SDK version constants across Gradle variants
Line 1 bumps usercentricsVersion to 2.27.3, but android/build-legacy.gradle still pins usercentrics_version to 2.27.1. That creates version drift between build paths and can publish/test different SDK versions unintentionally.
Suggested fix
-// android/build-legacy.gradle
-def usercentrics_version = "2.27.1"
+// android/build-legacy.gradle
+def usercentrics_version = "2.27.3"🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@android/build.gradle.kts` at line 1, The Android build variants are out of
sync because build.gradle.kts updates usercentricsVersion while
build-legacy.gradle still uses usercentrics_version at an older value; update
the legacy constant too so both Gradle paths reference the same Usercentrics SDK
version and stay aligned.
| "version": "2.27.3", | ||
| "description": "Usercentrics SDK", | ||
| "homepage": "https://usercentrics.com", | ||
| "main": "lib/index.js", | ||
| "types": "lib/index.d.ts", | ||
| "author": "Usercentrics <developer@usercentrics.com>", | ||
| "iosPackageName": "react-native-usercentrics", | ||
| "iosPackageVersion": "2.27.1", | ||
| "iosPackageVersion": "2.27.3", |
There was a problem hiding this comment.
[VALIDATION] You updated "version" and "iosPackageVersion" to 2.27.3 in package.json. Before publishing, verify that the corresponding native artifacts for 2.27.3 exist and are published: - Android: com.usercentrics.sdk:usercentrics-ui:2.27.3 on your Maven repo(s) (used by android/build.gradle.kts implementation("com.usercentrics.sdk:usercentrics-ui:$usercentricsVersion")). - iOS: CocoaPods/Carthage release UsercentricsUI 2.27.3 (react-native-usercentrics.podspec consumes package['iosPackageVersion'], see podspec reference lines 6-36). If the native artifacts are not yet published, coordinate the native SDK release or revert the bump until they are available to avoid broken installs for consumers.
|
Reviewed up to commit:dea17dd223a4cc9f5f5bc9a591d86127b8ca7f2e Additional Suggestionandroid/build-legacy.gradle, line:1The Kotlin DSL build file (android/build.gradle.kts) was bumped to 2.27.3 (see changed line 1). The legacy Groovy build file (android/build-legacy.gradle) still defines def usercentrics_version = "2.27.1" (reference: android/build-legacy.gradle lines 1-16). This creates an inconsistent version state that can cause published artifacts, CI tasks, or legacy build flows to use the wrong SDK version. Update def usercentrics_version to "2.27.3" and ensure version usercentrics_version is consistent across all Android build files and publishing steps. Also run a quick build/publish dry-run to confirm nothing else relies on the old value.def usercentrics_version = "2.27.3"
version usercentrics_version
buildscript {
ext.kotlin_version = '1.8.0'
ext.safeExtGet = { prop, fallback ->
return rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
repositories {
google()
mavenCentral()
}
dependencies {Others- CHANGELOG.md currently lists 2.27.1 as the latest documented release. Update the changelog to include the 2.27.3 entry (or point to the correct release notes) so consumers and release automation reflect the new package version. This prevents confusion for downstream integrators and release automation that relies on the changelog.[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
### 2.27.3 – Jun 25, 2026
## Fixes
* Align React Native bridge with native Usercentrics SDK 2.27.3 (Android: `usercentrics-ui`
version `${usercentricsVersion}`, iOS: `UsercentricsUI` version `${package['iosPackageVersion']}`)
* Updated Android Gradle configuration to consume Usercentrics SDK `2.27.3`
* Updated npm package metadata (`version` and `iosPackageVersion`) to `2.27.3` for consistency
### 2.27.1 – Jun 15, 2026
## Fixes
* **[iOS — Accessibility]** Fixed VoiceOver announcing wrong language for English content (WCAG 3.1.2 Language of Parts)
* **[iOS — Accessibility]** Fixed table in second layer not semantically exposed to VoiceOver (WCAG 1.3.1 Info and Relationships)
* **[iOS — Accessibility]** Fixed CMP links not announced as links by VoiceOver (WCAG 4.1.2 Name, Role, Value)
* **[iOS — Accessibility]** Fixed VoiceOver focus not restored to language picker after language switch (WCAG 3.2.1 On Focus)
* **[iOS — Accessibility]** Added visible focus indicator for all assistive technologies (WCAG 2.4.7 Focus Visible)
* **[iOS]** Fixed crash when tapping service info icon (ⓘ) in Second Layer Categories tab
* **[iOS]** Fixed UI work not dispatched to main thread in `showFirstLayer`; added guard against double-presentation
* **[Android/iOS]** Restored button order to `[denyAll, acceptAll]` in default button mapping
* **[PUR]** Fixed vendor consents not set to `true` when `showTogglesForVendors=false` on second layer Save
|
Code Review by Qodo
1. Legacy Gradle version skew
|
Summary by CodeRabbit