Skip to content

Release: 2.35.0 - #264

Merged
uc-brunosilva merged 4 commits into
masterfrom
release/2.35.0
Nov 11, 2026
Merged

uc-brunosilva merged 4 commits into
masterfrom
release/2.35.0

Conversation

@uc-brunosilva

Copy link
Copy Markdown
Collaborator

Release 2.35.0: version bump, changelog and lockfiles.

  • Android: tab-targeted showSecondLayer deep link (matches iOS since 2.34.0)
  • Android: native APIs to capture/restore in-flight 1st-layer state (not exposed by the wrapper yet)
  • Android: SDK crash reporting via Sentry (users outside Europe, separate Sentry instance); native crashReportingEnabled removed
  • Android: R8 Missing classes detected fix
  • Android/iOS: "Preview for Mobile Browsers" empty page fix for accounts with a domain allowlist
  • Bumps package.json (version + iosPackageVersion), android/build.gradle.kts, package-lock.json
  • Regenerates sample/ios/Podfile.lock for 2.35.0 (Usercentrics / UsercentricsUI)

CI fixes (separate commits; master CI was broken independently of this release):

Verified on the same commits (#263): test-rn, test-ios and test-android all green; Android 68 unit tests, 0 failures, against usercentrics-ui:2.35.0.

Replaces #263 (same commits, moved to the official release branch).

🤖 Generated with Claude Code

uc-brunosilva and others added 4 commits November 11, 2026 11:47
Version bump, changelog and regenerated Podfile.lock (native 2.35.0).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
GitHub retired the macos-14 arm64 runner image on 2026-11-02
(actions/runner-images#13518). test-ios and test-android never started:
"The configuration 'macos-14-arm64-us-default' is not supported".

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
macos-15 only ships the iOS 18.5/18.6/26.x simulator runtimes, so Xcode 16.1
(iOS 18.1 runtime) cannot find the "iPhone 16 Pro" destination. Xcode 16.4 is
the image default and pairs with the iOS 18.5 runtime.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
"+" started resolving to react-android 0.89.0-rc.1 (published 2026-11-10),
which is compiled with Kotlin 2.3 metadata and fails compileDebugKotlin with
the Kotlin 2.1 compiler used by the sample ("Incompatible classes were found
in dependencies"). 0.88.1 is what "+" resolved to before the RC, and the full
CI command (koverXmlReport + koverHtmlReport) passes locally: 68 unit tests,
0 failures, against usercentrics-ui 2.35.0.

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

codeant-ai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Skipping CodeAnt AI review — this PR is a back-merge between long-lived branches (release/2.35.0 → master). 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.

@uc-brunosilva uc-brunosilva mentioned this pull request Nov 11, 2026
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 7f300d95-2c9d-411f-b323-c25ec6d14db2
Commits

Reviewing files that changed from the base of the PR and between ce4504b and 466b5ba.

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

  • .github/workflows/ci.yml
  • CHANGELOG.md
  • CLAUDE.md
  • android/build.gradle.kts
  • package.json
  • 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

@qodo-code-review

qodo-code-review Bot commented Nov 11, 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 2.35.0 and restore native CI builds

⚙️ Configuration changes 📝 Documentation 🐞 Bug fix 🕐 20-40 Minutes

Grey Divider

AI Description

• Align package and native SDK versions for the 2.35.0 release.
• Document upstream native features and fixes; no wrapper APIs change.
• Restore native CI with supported macOS/Xcode versions and a stable Android dependency.
Diagram

graph TD
  Manifest["Package metadata"] --> Podspec["iOS podspec"] --> PodLock["Sample pod lock"] --> IOS["iOS SDK 2.35"]
  Manifest --> Gradle["Android Gradle"] --> Android["Android SDK 2.35"]
  CI["CI workflow"] --> Tests["Platform tests"]
  Tests --> PodLock
  Tests --> Gradle
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Let the host app select react-android
  • ➕ Avoids declaring a fixed React Native artifact version in the published library.
  • ➖ Requires checking that sample and consumer builds reliably supply a compatible version.

Recommendation: The pin is a practical release fix for the pre-release resolution failure. Before retaining it long-term in a published library, assess whether host-controlled React Native resolution can avoid version divergence across consumer apps.

Files changed (7) +33 / -19

Bug fix (1) +5 / -2
build.gradle.ktsSelect native SDK 2.35.0 and pin react-android +5/-2

Select native SDK 2.35.0 and pin react-android

• Updates usercentrics-ui to 2.35.0 and replaces the dynamic react-android version with 0.88.1. This prevents a Kotlin-incompatible pre-release from breaking Android builds; the pin also ships with the library.

android/build.gradle.kts

Documentation (2) +13 / -2
CHANGELOG.mdDocument native SDK 2.35.0 release notes +11/-0

Document native SDK 2.35.0 release notes

• Records Android second-layer tab targeting, native state restoration APIs, crash-reporting changes, and Android/iOS fixes. The state APIs are not exposed by this React Native wrapper change.

CHANGELOG.md

CLAUDE.mdRefresh documented native CI environment +2/-2

Refresh documented native CI environment

• Updates the CI reference to macOS 15 for both native jobs and Xcode 16.4 for iOS.

CLAUDE.md

Other (4) +15 / -15
ci.ymlMove native CI to macOS 15 and Xcode 16.4 +3/-3

Move native CI to macOS 15 and Xcode 16.4

• Runs iOS and Android jobs on macOS 15 after retirement of the macOS 14 runner. Selects Xcode 16.4 so the iOS test destination has an available simulator runtime.

.github/workflows/ci.yml

package.jsonBump wrapper and iOS package versions +2/-2

Bump wrapper and iOS package versions

• Sets both the npm package version and the iOS native package version used by the podspec to 2.35.0.

package.json

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

Synchronize npm lockfile release version

• Updates the root package version entries from 2.34.0 to 2.35.0; dependency resolutions are unchanged.

package-lock.json

Podfile.lockLock the sample to iOS SDK 2.35.0 +8/-8

Lock the sample to iOS SDK 2.35.0

• Updates the wrapper pod, Usercentrics, and UsercentricsUI to 2.35.0 and refreshes their spec checksums. Other locked pod versions are unchanged.

sample/ios/Podfile.lock

@uc-brunosilva
uc-brunosilva requested review from islameldesoky95 and uc-brunosouza and removed request for islameldesoky95 November 11, 2026 12:38
@pantoaibot

pantoaibot Bot commented Nov 11, 2026

Copy link
Copy Markdown

PR Summary:

Release: 2.35.0 — version bump, release notes, Android features/crash-reporting, and CI/build updates

  • Bumped versions: package.json -> 2.35.0, android/build.gradle.kts usercentricsVersion -> "2.35.0", iosPackageVersion -> "2.35.0".
  • Added CHANGELOG entry for 2.35.0 (features & fixes).
  • Android features:
    • showSecondLayer deep link can open the second layer directly on a given tab (matches iOS; falls back if tab missing).
    • Native APIs added to capture/restore in-flight 1st-layer consent across Activity recreation (not yet exposed via React Native wrapper).
    • Added Android-only SDK crash reporting via Sentry for users outside Europe (isolated from app's Sentry).
    • Removed native UsercentricsOptions.crashReportingEnabled (crash reporting is no longer opt-in) — note: this flag was not used by the RN wrapper.
  • Fixes called out in changelog:
    • R8 release builds failing due to missing org.jetbrains.annotations resolved.
    • Apps Preview blank page with domain allowlist fixed.
  • Build config changes:
    • android/build.gradle.kts: reactNativeVersion pinned to "0.88.1" (comment explains avoiding matching pre-releases/RCs that break builds).
  • CI updates:
    • .github/workflows/ci.yml: macOS runners upgraded from macos-14 to macos-15 for iOS and Android jobs; Xcode bumped from 16.1 to 16.4 in test-ios job.
    • CLAUDE.md updated to reflect CI environment changes.
  • Notes / potential breaking change:
    • Removal of the native crashReportingEnabled option may affect native consumers who relied on toggling that flag (RN wrapper unaffected).

Reviewed by Panto AI

Comment thread .github/workflows/ci.yml Resolved
Comment thread android/build.gradle.kts Resolved
Comment thread package.json Resolved
Comment thread package.json Resolved
Comment thread CLAUDE.md Resolved
@pantoaibot

pantoaibot Bot commented Nov 11, 2026

Copy link
Copy Markdown

Reviewed up to commit:466b5baaba7c50933e34db554ae0aa9b0bf24611

Additional Suggestion
Others - Release checklist requires regenerating `sample/ios/Podfile.lock` with `bundle exec pod update UsercentricsUI` (after `pod repo update`) and committing it. Ensure `sample/ios/Podfile.lock` is present in the PR and reflects the bumped iOS package version; CI's iOS job runs from scratch and will otherwise fail or show unexpected diffs.

Reviewed by Panto AI

@uc-brunosilva
uc-brunosilva merged commit 75617e7 into master Nov 11, 2026
20 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