Skip to content

Conversation

@islameldesoky95
Copy link
Collaborator

@islameldesoky95 islameldesoky95 commented Jan 27, 2026

User description

User description

Release: 2.24.4


PR Type

Other


Description

  • Bumped version from 2.24.3 to 2.24.4

  • Updated Android build configuration with new version

  • Updated package.json version and iOS package version

  • Added comprehensive changelog entries for 2.24.4 release


Diagram Walkthrough

flowchart LR
  A["Version 2.24.3"] -- "bump version" --> B["Version 2.24.4"]
  B -- "update" --> C["android/build.gradle.kts"]
  B -- "update" --> D["package.json"]
  B -- "document" --> E["CHANGELOG.md"]
Loading

File Walkthrough

Relevant files
Configuration changes
build.gradle.kts
Update Android Usercentrics version                                           

android/build.gradle.kts

  • Updated usercentricsVersion from 2.24.3 to 2.24.4
+1/-1     
package.json
Update package and iOS version numbers                                     

package.json

  • Updated main package version from 2.24.3 to 2.24.4
  • Updated iosPackageVersion from 2.24.3 to 2.24.4
+2/-2     
Documentation
CHANGELOG.md
Add 2.24.4 release notes and improvements                               

CHANGELOG.md

  • Added new 2.24.4 release notes dated Jan 27, 2026
  • Documented new "Manage Settings" button visibility feature
  • Added TCF Storage Disclosures and storage information views for CTV
  • Documented Legitimate Interest settings capture improvements
  • Added status text for LI toggles on Android TV and AppleTV
  • Noted UI improvements and fixes
+8/-0     


CodeAnt-AI Description

Release 2.24.4: Add CTV storage disclosures, admin control for Manage Settings, and clearer Legitimate Interest status on TV

What Changed

  • Admins can now show or hide the "Manage Settings" button, changing whether end users see that entry point
  • CTV apps show TCF Storage Disclosures and a detailed storage information view so users can inspect stored data on TV platforms
  • Unsaved Legitimate Interest choices are preserved and captured correctly even if a user clicks "Deny All"
  • Android TV and Apple TV display explicit status text for Legitimate Interest toggles so users can tell if LI is enabled or disabled
  • UI polish and bug fixes across the app; package and platform versions updated to 2.24.4

Impact

✅ Clearer Legitimate Interest status on TV
✅ More transparent storage details on CTV
✅ Admins control Manage Settings visibility

💡 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

    • New admin features rolled out
    • UI and storage disclosures added for CTV
  • Bug Fixes

    • Resolved LI-related behavior issues
  • Improvements

    • General UI enhancements
  • Chores

    • Release bumped to 2.24.4 and changelog entry added

✏️ Tip: You can customize this high-level summary in your review settings.

@codeant-ai
Copy link

codeant-ai bot commented Jan 27, 2026

CodeAnt AI is reviewing your PR.


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

@qodo-code-review
Copy link

qodo-code-review bot commented Jan 27, 2026

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
🟢
Generic: Comprehensive Audit Trails

Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Meaningful Naming and Self-Documenting Code

Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Robust Error Handling and Edge Case Management

Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Error Handling

Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Logging Practices

Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Security-First Input Validation and Data Handling

Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

  • Update
Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@coderabbitai
Copy link

coderabbitai bot commented Jan 27, 2026

📝 Walkthrough

Walkthrough

Bumps release from 2.24.3 to 2.24.4: updates Android build dependency versions and package metadata, adds a new CHANGELOG entry, adjusts test mock data, and modifies Kotlin test FakePromise reject method signatures to accept nullable codes and an added overload.

Changes

Cohort / File(s) Summary
Android build files
android/build-legacy.gradle, android/build.gradle.kts
Bumped usercentrics_version / usercentricsVersion from 2.24.32.24.4.
Package metadata
package.json
Updated package version fields from 2.24.32.24.4.
Release notes
CHANGELOG.md
Added changelog entry for 2.24.4 (2026-01-27) with an "Improvement" section (admin features, CTV UI/storage disclosures, LI behavior fixes, UI tweaks).
Android test utilities
android/src/test/java/com/usercentrics/reactnative/fake/FakePromise.kt
Changed multiple reject override signatures to accept nullable code: String?; added a comprehensive overload reject(code: String?, message: String?, throwable: Throwable?, userInfo: WritableMap?); deprecated reject(message: String) retained.
iOS sample mocks
sample/ios/sampleTests/Mock/CMPData+Mock.swift
Updated mock initializers: set TCF2Settings.mock().hideButtonManageSettings = false and UsercentricsCustomization.mock().buttonAlignment = .center.

Sequence Diagram(s)

(Skipped)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Release: 2.24.3 #179 — Release/version bump and changelog edits touching the same Android build files and package metadata.
  • Release: 2.24.1 #172 — Similar release metadata and dependency version updates across CHANGELOG.md, Android build files, and package.json.
  • Release: 2.23.3 #162 — Prior release bump affecting the same Android/version variables and package metadata.

Suggested reviewers

  • uc-brunosouza
  • uc-brunosilva

Poem

🐰 A tiny hop, a version new,
I bumped the numbers, tidy too,
Mocks refreshed and tests aligned,
Notes recorded, changes signed,
Hooray — 2.24.4, carrots due! 🥕

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Release: 2.24.4' directly and clearly reflects the main change: a version bump release from 2.24.3 to 2.24.4.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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 and usage tips.

@qodo-code-review
Copy link

qodo-code-review bot commented Jan 27, 2026

PR Code Suggestions ✨

No code suggestions found for the PR.

@codeant-ai codeant-ai bot added the size:S This PR changes 10-29 lines, ignoring generated files label Jan 27, 2026
@pantoaibot
Copy link

pantoaibot bot commented Jan 27, 2026

PR Summary:

Release 2.24.4: version bumps and changelog update documenting CTV and Legitimate Interest UI/behavior improvements; no runtime logic changes.

  • CHANGELOG.md: Added 2.24.4 release notes:
    • Admin toggle to show/hide "Manage Settings" button.
    • TCF Storage Disclosures and detailed storage info views for CTV.
    • Fix: unsaved Legitimate Interest settings captured correctly after "Deny All".
    • Added status text for LI toggles on Android TV and AppleTV.
    • Misc UI improvements and fixes.
  • package.json: version -> 2.24.4 and iosPackageVersion -> 2.24.4.
  • android/build-legacy.gradle and android/build.gradle.kts: usercentrics version bumped to 2.24.4.
  • No functional code changes detected beyond metadata/docs; no breaking changes called out.

Reviewed by Panto AI

@codeant-ai
Copy link

codeant-ai bot commented Jan 27, 2026

Nitpicks 🔍

🔒 No security issues identified
⚡ Recommended areas for review

  • Version consistency
    The usercentrics SDK version was bumped here. Ensure the same version value is updated consistently everywhere it must match (other Gradle modules, iOS project files, package.json, changelog and any CI/release scripts). A mismatched version across platforms or modules can cause runtime or release inconsistencies.

  • Hardcoded version source
    The version is defined as a top-level string literal in the build script. This can lead to duplication and drift across modules. Consider centralizing version management (gradle.properties, version catalog, or buildSrc) to avoid manual mismatches in future bumps.

@codeant-ai
Copy link

codeant-ai bot commented Jan 27, 2026

CodeAnt AI finished reviewing your PR.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@CHANGELOG.md`:
- Line 6: In the CHANGELOG entry line that reads '* Updated logic to ensure
unsaved Legitimate Interest settings are correctly captured even after a user
clicks "Deny All.' add the missing closing quotation mark after Deny All so it
reads "Deny All", and verify punctuation/spacing remains correct (ensure the
sentence ends with a period outside the closing quote).
🧹 Nitpick comments (1)
CHANGELOG.md (1)

7-7: Inconsistent naming: "AppleTV" vs "Apple TV".

The same line uses "Android TV" (two words) but "AppleTV" (one word). For consistency and to match Apple's official branding, consider using "Apple TV" (two words).

📝 Proposed fix
-* Added status text for Legitimate Interest (LI) toggles on Android TV and AppleTV to clearly show if they are enabled/disabled
+* Added status text for Legitimate Interest (LI) toggles on Android TV and Apple TV to clearly show if they are enabled/disabled

## Improvement
* Added a new feature allowing admins to show or hide the "Manage Settings" button
* Added TCF Storage Disclosures and detailed storage information views for CTV.
* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Missing closing quotation mark.

The sentence has an unclosed quotation mark around "Deny All".

📝 Proposed fix
-* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All.
+* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All."
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All.
* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All."
🤖 Prompt for AI Agents
In `@CHANGELOG.md` at line 6, In the CHANGELOG entry line that reads '* Updated
logic to ensure unsaved Legitimate Interest settings are correctly captured even
after a user clicks "Deny All.' add the missing closing quotation mark after
Deny All so it reads "Deny All", and verify punctuation/spacing remains correct
(ensure the sentence ends with a period outside the closing quote).

## Improvement
* Added a new feature allowing admins to show or hide the "Manage Settings" button
* Added TCF Storage Disclosures and detailed storage information views for CTV.
* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All.
Copy link

Choose a reason for hiding this comment

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

[NITPICK] Typo / punctuation: the line reads ...after a user clicks "Deny All. — the closing quotation mark is missing. Fix to: * Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All".

* Updated logic to ensure unsaved Legitimate Interest settings are correctly captured even after a user clicks "Deny All".

@@ -1,4 +1,4 @@
val usercentricsVersion = "2.24.3"
val usercentricsVersion = "2.24.4"
Copy link

Choose a reason for hiding this comment

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

[VALIDATION] You updated usercentricsVersion to "2.24.4". Before publishing, validate that the native dependency com.usercentrics.sdk:usercentrics-ui:2.24.4 is available in your artifact repository (or that the intended publishing pipeline will publish it). Run a full Android CI build to verify dependency resolution and that both legacy and new gradle configs resolve the new version correctly.

@pantoaibot
Copy link

pantoaibot bot commented Jan 27, 2026

Reviewed up to commit:58f5ca021a0f33334466fb84e5cbe8aaeada415e

Reviewed by Panto AI

@islameldesoky95 islameldesoky95 merged commit 49721a3 into master Jan 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review effort 1/5 size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants