Skip to content

Release: 2.26.3#211

Merged
asadraza-usercentrics merged 1 commit into
masterfrom
release/2.26.3
May 14, 2026
Merged

Release: 2.26.3#211
asadraza-usercentrics merged 1 commit into
masterfrom
release/2.26.3

Conversation

@asadraza-usercentrics
Copy link
Copy Markdown
Contributor

@asadraza-usercentrics asadraza-usercentrics commented May 13, 2026

Summary by CodeRabbit

Release Notes - Version 2.26.3

  • Bug Fixes
    • Resolved FirebaseAnalyticsMediationSDK compatibility issues with Firebase 32+
    • Fixed consent-collection being re-enabled after user consent is granted
    • Addressed Android and iOS UI rendering issues
    • Resolved dependency conflicts affecting build stability

Review Change Stack

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 13, 2026

Skipping CodeAnt AI review — this PR is a back-merge between long-lived branches (release/2.26.3master). The diff here has already been reviewed when the underlying commits landed on the source branch, so re-running analysis would produce duplicate findings on already-reviewed code.

If you want to analyze this anyway (e.g. you resolved conflicts with new logic), comment @codeant-ai : review and CodeAnt will start a review.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: eeb2e7f3-ac50-4718-869a-28ccf174cf27

📥 Commits

Reviewing files that changed from the base of the PR and between 9f74dab and 022b8d3.

⛔ 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 (5)
  • CHANGELOG.md
  • android/build-legacy.gradle
  • android/build.gradle.kts
  • package.json
  • sample/ios/sample.xcodeproj/project.pbxproj
💤 Files with no reviewable changes (1)
  • sample/ios/sample.xcodeproj/project.pbxproj

📝 Walkthrough

Walkthrough

This PR releases version 2.26.3 of the Usercentrics React Native SDK, updating changelog documentation, package manifests, Android dependency versions, and removing a resource file reference from the sample iOS app's build configuration.

Changes

Version 2.26.3 Release

Layer / File(s) Summary
Release notes and package version updates
CHANGELOG.md, package.json
Changelog documents the 2.26.3 release with fixes for FirebaseAnalyticsMediationSDK, consent-collection, and Android/iOS issues. Package version and iosPackageVersion both bump to 2.26.3.
Android dependency version updates
android/build-legacy.gradle, android/build.gradle.kts
Both Android build files update the Usercentrics SDK dependency version (usercentrics_version and usercentricsVersion) from 2.26.2 to 2.26.3.
Sample iOS app build configuration
sample/ios/sample.xcodeproj/project.pbxproj
Removes the PBXBuildFile resource entry for GoogleService-Info.plist, preventing it from being included in the app's Resources build phase.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

Review effort 1/5, size:S

Suggested reviewers

  • uc-brunosilva
  • uc-brunosouza
  • rodrigo-leal-usercentrics

Poem

🐰 A tiny version hop, from two to three,
All configs dance in harmony—
Gradle files align, the package sings,
And GoogleService-Info takes its wings! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 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 (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Release: 2.26.3' directly corresponds to the changeset, which updates version numbers across multiple files to 2.26.3 and adds a changelog entry for this release.
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.

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

✨ 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 release/2.26.3

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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
Copy Markdown

Review Summary by Qodo

Release version 2.26.3 with bug fixes

📦 Other

Grey Divider

Walkthroughs

Description
• Bump version from 2.26.2 to 2.26.3
• Add changelog entries for Firebase mediation and Protobuf fixes
• Update version in Android and npm package configurations
• Remove GoogleService-Info.plist from iOS sample project
Diagram
flowchart LR
  A["Version 2.26.2"] -- "Release 2.26.3" --> B["Updated Configs"]
  B --> C["Android build.gradle.kts"]
  B --> D["package.json"]
  B --> E["CHANGELOG.md"]
  E --> F["Firebase & Protobuf Fixes"]
  B --> G["iOS project.pbxproj"]
Loading

Grey Divider

File Changes

1. android/build.gradle.kts ⚙️ Configuration changes +1/-1

Update Android SDK version number

• Updated usercentricsVersion from 2.26.2 to 2.26.3

android/build.gradle.kts


2. CHANGELOG.md 📝 Documentation +7/-0

Add 2.26.3 release notes with fixes

• Added release notes for version 2.26.3 dated May 14, 2026
• Documented Firebase KTX migration fix for Firebase 32+
• Documented fix for setAnalyticsCollectionEnabled(true) not being called
• Documented Protobuf dependency conflict resolution
• Documented button text centering fix in React Native consent banners

CHANGELOG.md


3. package.json ⚙️ Configuration changes +2/-2

Update npm package version to 2.26.3

• Updated version field from 2.26.2 to 2.26.3
• Updated iosPackageVersion field from 2.26.2 to 2.26.3

package.json


View more (1)
4. sample/ios/sample.xcodeproj/project.pbxproj ⚙️ Configuration changes +0/-1

Remove GoogleService-Info.plist from iOS sample

• Removed GoogleService-Info.plist build file reference from iOS sample project
• Removed associated PBXBuildFile entry for GoogleService-Info.plist

sample/ios/sample.xcodeproj/project.pbxproj


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown

qodo-code-review Bot commented May 13, 2026

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0)

Grey Divider


Action required

1. Firebase plist not bundled 🐞 Bug ≡ Correctness
Description
The PR removes the Xcode build resource entry for GoogleService-Info.plist, so even if a developer
adds the file under sample/ios/sample/, it will not be copied into the app bundle and
FirebaseApp.configure() will not be able to find it. This contradicts the sample README which
states the plist is already wired and requires no Xcode changes.
Code

sample/ios/sample.xcodeproj/project.pbxproj[15]

-		DA0000021CF9000F007C117D /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DA0000011CF9000F007C117D /* GoogleService-Info.plist */; };
Evidence
In the current PR branch, GoogleService-Info.plist remains a project file reference, but it is no
longer listed in the Resources build phase, meaning it won’t be copied into the built app. The
sample README still instructs users that the plist is already wired as a build resource and requires
no Xcode changes, which is no longer true after this PR change.

sample/ios/sample.xcodeproj/project.pbxproj[28-44]
sample/ios/sample.xcodeproj/project.pbxproj[75-88]
sample/ios/sample.xcodeproj/project.pbxproj[224-234]
sample/README.md[251-268]

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

## Issue description
The iOS sample Xcode project no longer copies `GoogleService-Info.plist` into the app bundle after the PBXBuildFile removal. This breaks Firebase initialization for anyone following the documented steps (placing the file on disk and uncommenting `FirebaseApp.configure()`).

## Issue Context
- The file is still referenced in the project navigator, but it is not included in the `PBXResourcesBuildPhase`, so it won't be packaged.
- The README currently claims the plist is already wired as a build resource.

## Fix Focus Areas
Choose one of the following approaches (preferred: keep sample building without the file, but automatically include it when present):

1) **Add a build phase script** to the `sample` target that copies `sample/GoogleService-Info.plist` into `$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)` only if it exists (and does not fail if missing).

2) **Alternatively**, update docs to require manually adding the file to “Copy Bundle Resources” and/or restore the PBXBuildFile wiring while ensuring the repo contains a non-secret placeholder plist to avoid build failures.

- sample/ios/sample.xcodeproj/project.pbxproj[224-234]
- sample/README.md[251-268]

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


Grey Divider

Qodo Logo

@pantoaibot
Copy link
Copy Markdown

pantoaibot Bot commented May 13, 2026

PR Summary:

Release 2.26.3: version bumps and release notes added with fixes for mediation/Firebase, protobuf conflict, and UI alignment.

  • CHANGELOG: added 2.26.3 release notes (Fixes: FirebaseAnalyticsMediationSDK support for Firebase 32+ / Firebase KTX migration; ensure setAnalyticsCollectionEnabled(true) is called after consent; Protobuf dependency conflict fix; React Native consent banner button text alignment).
  • Android gradle files: bumped usercentrics version to 2.26.3 (android/build-legacy.gradle and android/build.gradle.kts).
  • package.json: bumped package version and iosPackageVersion to 2.26.3.
  • sample/ios/project.pbxproj: removed GoogleService-Info.plist PBXBuildFile entry from the sample Xcode project.
  • No API or public behavior changes documented; mainly bug fixes and packaging/sample cleanup.

Reviewed by Panto AI

Comment thread sample/ios/sample.xcodeproj/project.pbxproj
Comment thread sample/ios/sample.xcodeproj/project.pbxproj
Comment thread CHANGELOG.md
@pantoaibot
Copy link
Copy Markdown

pantoaibot Bot commented May 13, 2026

Reviewed up to commit:022b8d341c25d606eaf86ca00e45b0d3801eeba3

Additional Suggestion
Others - Multiple files were version-bumped (package.json, android/build-legacy.gradle, android/build.gradle.kts). Ensure the release workflow also: 1) runs 'yarn compile' (prepare) so lib/ outputs reflect the new version; 2) commits any generated code or ensures prepublish codegen (generate-codegen-jni.js) is run in CI/publish; and 3) run the sample iOS/Android build to validate no project files (like the PBXBuildFile) were inadvertently changed. Consider adding an automated version-bump check that verifies all known locations (package.json, ios podspec mapping, android gradle files, react-native config) are updated together to avoid drift.

Reviewed by Panto AI

@asadraza-usercentrics asadraza-usercentrics merged commit 11f1dde into master May 14, 2026
12 checks passed
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.

3 participants