Skip to content

Release: 2.28.0 - #224

Closed
uc-brunosilva wants to merge 1 commit into
masterfrom
bump/2.28.0
Closed

Release: 2.28.0#224
uc-brunosilva wants to merge 1 commit into
masterfrom
bump/2.28.0

Conversation

@uc-brunosilva

@uc-brunosilva uc-brunosilva commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

CodeAnt-AI Description

Release 2.28.0 with fixes for banner overlap, footer spacing, and consent handling

What Changed

  • Bumped the SDK version to 2.28.0
  • Added release notes for fixes in banner display, Android footer spacing, iOS Unity builds, Consent-or-Pay toggles, billing metrics, and TCF behavior

Impact

✅ Clearer 2.28.0 release tracking
✅ Fewer banner display issues
✅ More accurate consent and billing behavior

💡 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

  • Bug Fixes

    • Resolved several issues affecting banner layering during rapid transitions, spacing in the Android second-layer footer, and iOS build stability for Unity-based packages.
    • Improved consent toggle behavior, corrected billing session counting for metrics, and fixed TCF-related consent handling.
    • Removed a hard dependency related to app tracking and corrected treatment for one consent purpose.
  • Chores

    • Updated the app/package version to 2.28.0.

@codeant-ai

codeant-ai Bot commented Jul 8, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.

@codeant-ai

codeant-ai Bot commented Jul 8, 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 Jul 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8abef613-907f-42f0-ac85-f58368a5966a

📥 Commits

Reviewing files that changed from the base of the PR and between 9b26528 and 7cd559c.

⛔ Files ignored due to path filters (2)
  • package-lock.json is excluded by !**/package-lock.json
  • sample/ios/Podfile.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • CHANGELOG.md
  • android/build.gradle.kts
  • package.json

📝 Walkthrough

Walkthrough

This PR bumps the SDK version from 2.27.3 to 2.28.0 across android/build.gradle.kts (usercentricsVersion), package.json (version and iosPackageVersion), and adds a corresponding CHANGELOG.md entry documenting fixes for banner layering, Android footer spacing, iOS Unity build, PUR consent toggle, Billing metrics, and TCF issues.

Changes

Release version bump

Layer / File(s) Summary
Version constants and changelog
android/build.gradle.kts, package.json, CHANGELOG.md
Bumps usercentricsVersion and iosPackageVersion/version fields from 2.27.3 to 2.28.0, and adds a new CHANGELOG entry listing six fixes for this release.

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

Possibly related PRs

Suggested labels: Review effort 1/5, size:S

Suggested reviewers: luislino-uc, islameldesoky95

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the version release bump and changelog update for 2.28.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump/2.28.0

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


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 Jul 8, 2026
@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Release 2.28.0 (version bumps + release notes)

📝 Documentation ⚙️ Configuration changes 🕐 Less than 5 minutes

Grey Divider

AI Description

• Add 2.28.0 release notes to the changelog.
• Bump Android and npm package versions to 2.28.0.
• Align iOS package version metadata to 2.28.0.
Diagram

graph TD
  Rel["Release 2.28.0"] --> Changelog["CHANGELOG.md"] --> Android["android/build.gradle.kts"] --> Npm["package.json"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Adopt automated release tooling (e.g., release-please / changesets)
  • ➕ Reduces manual version drift across Gradle/package.json/changelog
  • ➕ Can enforce consistent changelog formatting and tagging
  • ➕ Makes release PRs more repeatable and less error-prone
  • ➖ Requires initial setup and CI integration
  • ➖ May impose a new workflow for maintaining release notes

Recommendation: For this PR, the manual version bumps and changelog entry are appropriate and low-risk. If release bumps are frequent, consider introducing automated release tooling to generate consistent release PRs and prevent cross-file version mismatches.

Files changed (3) +12 / -3

Documentation (1) +9 / -0
CHANGELOG.mdAdd 2.28.0 release notes +9/-0

Add 2.28.0 release notes

• Adds a new 2.28.0 section dated Jul 8, 2026. Captures fixes across Android/iOS banners, Android layout spacing, iOS Unity build, PUR toggles, Billing metrics, and TCF integrations.

CHANGELOG.md

Other (2) +3 / -3
build.gradle.ktsBump Android version constant to 2.28.0 +1/-1

Bump Android version constant to 2.28.0

• Updates the 'usercentricsVersion' value from 2.27.3 to 2.28.0 to match the new release.

android/build.gradle.kts

package.jsonBump npm and iOS package versions to 2.28.0 +2/-2

Bump npm and iOS package versions to 2.28.0

• Updates the npm package 'version' and 'iosPackageVersion' fields from 2.27.3 to 2.28.0 to keep published artifacts in sync.

package.json

@pantoaibot

pantoaibot Bot commented Jul 8, 2026

Copy link
Copy Markdown

PR Summary:

Release 2.28.0: bugfix release addressing UI/behavior issues across Android/iOS, TCF and billing metrics; package and build versions bumped.

  • Updated CHANGELOG with 2.28.0 release notes listing fixes.
  • Fix: Prevent multiple overlapping banner instances on rapid showFirstLayer/showSecondLayer calls (Android/iOS).
  • Fix: Button spacing respected in second-layer footer (Android).
  • Fix: Unity static package iOS build now compiles (iOS).
  • Fix: Consent-or-Pay — flexible special features/purposes now show toggles instead of being forced mandatory (PUR).
  • Fix: Session buffer overcounting corrected to stop spikes in the Displays billing metric (Billing).
  • Fix: Removed hard AppsFlyer import and corrected incorrect purpose-one treatment in TCF (TCF).
  • Bumped versions: android/build.gradle.kts usercentricsVersion -> 2.28.0; package.json version and iosPackageVersion -> 2.28.0.
  • No breaking changes listed in the changelog.

Reviewed by Panto AI

@codeant-ai

codeant-ai Bot commented Jul 8, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

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

pantoaibot Bot commented Jul 8, 2026

Copy link
Copy Markdown

Reviewed up to commit:7cd559c0779ebdaf67ecd0220163134b287896ac

Additional Suggestion
Others - Perform a repository-wide verification for remaining references to the previous release (2.27.3) — update any build/publish scripts, CI release tags, sample app pinned versions, docs, and lockfiles. Also run the full prepare/publish dry-run (including generate-codegen-jni and compile) in CI to ensure generated native artifacts and podspec dependency resolution behave as expected for the new version.

Reviewed by Panto AI

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Legacy Android version mismatch 🐞 Bug ≡ Correctness
Description
The release bump updates android/build.gradle.kts to use UsercentricsUI 2.28.0, but
android/build-legacy.gradle is still pinned to 2.27.1, causing inconsistent Android SDK versions
between build entrypoints. Because the android/ directory is shipped in the npm package, consumers
relying on the legacy Gradle script will build against an older SDK than the package release.
Code

android/build.gradle.kts[1]

+val usercentricsVersion = "2.28.0"
Evidence
The new Android Gradle KTS build uses UsercentricsUI 2.28.0, while the legacy Groovy build still
uses 2.27.1. Since the npm package ships the entire android/ directory, the outdated legacy script
can still be used by consumers and will pull an older dependency.

android/build.gradle.kts[1-2]
android/build.gradle.kts[74-77]
android/build-legacy.gradle[1-2]
android/build-legacy.gradle[70-75]
package.json[12-18]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`android/build.gradle.kts` was bumped to UsercentricsUI `2.28.0`, but `android/build-legacy.gradle` remains pinned to `2.27.1`. This means consumers using the legacy Groovy build file will compile against an older Android SDK version than intended for the `2.28.0` release.

## Issue Context
The `android/` directory is included in the published npm package, so `android/build-legacy.gradle` is distributed to consumers.

## Fix Focus Areas
- android/build-legacy.gradle[1-2]
- android/build-legacy.gradle[70-75]
- package.json[12-18]
- android/build.gradle.kts[1-2]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Qodo Logo

Comment thread android/build.gradle.kts
@uc-brunosilva
uc-brunosilva deleted the bump/2.28.0 branch July 8, 2026 09:10
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