Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
### 2.28.2 – Jul 22, 2026
## Fixes
Comment on lines +2 to +3

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Keep the changelog heading hierarchy consistent.

The release is a ### heading, so Fixes should be a child heading such as #### Fixes, not ## Fixes. This prevents the subsection from appearing above its release in document navigation.

Suggested fix
 ### 2.28.2 – Jul 22, 2026
-## Fixes
+#### Fixes
📝 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
### 2.28.2 – Jul 22, 2026
## Fixes
### 2.28.2 – Jul 22, 2026
#### Fixes
🤖 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 `@CHANGELOG.md` around lines 2 - 3, Update the Fixes heading under release
2.28.2 from level-two to level-four Markdown heading, preserving the release
heading as level three and maintaining consistent changelog hierarchy.

* **[iOS]** Rebuilt `UsercentricsUI.xcframework` with the Xcode 26 / Swift 6.3.3 toolchain, fixing build failures on Xcode 26.6 for apps consuming 2.27.1/2.28.0 (including via the React Native bridge)
Comment on lines +2 to +4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Informational

1. Changelog heading hierarchy 🐞 Bug ⚙ Maintainability

In CHANGELOG.md, the 2.28.2 release header is ### but the following Fixes header is ##, which
makes Fixes a higher-level section than the release itself (outline-wise it becomes a peer/parent
rather than a subsection). This weakens changelog structure (TOC/navigation/readability) and
continues an existing pattern in prior entries.
Agent Prompt
### Issue description
`CHANGELOG.md` uses a level-3 release heading (`### 2.28.2 …`) followed immediately by a level-2 section heading (`## Fixes`), which breaks heading nesting and makes sections harder to navigate/parse.

### Issue Context
The same pattern is present in older entries (e.g., 2.28.1), so this PR is not introducing a new pattern but is adding another instance of it.

### Fix Focus Areas
- CHANGELOG.md[2-11]

### Suggested fix
Choose a consistent hierarchy and apply it (ideally across the whole changelog):
- Option A: Make releases `## 2.28.2 …` and subsections `### Fixes`, `### Chores`, etc.
- Option B: Keep releases as `### …` and change subsections to `#### Fixes`, `#### Chores`, etc.

Apply the chosen option at least to the newly added 2.28.2 entry (and preferably to the rest of the file for consistency).

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

* **[PUR]** Fixed Consent-or-Pay mandatory purposes silently overriding the user's real TCF consent state on SDK initialization, causing a desync between the SDK's consent getters and the persisted TC string
* **[TCF]** Removed Special Purposes from the first layer of the TCF banner — not a first-layer requirement
* **[TCF]** Fixed purposes and special features being disclosed in the second layer (and included in the TC string) even when no vendor declared them, when Stacks are enabled
Comment on lines +2 to +7

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[VALIDATION] Changelog entry for 2.28.2 describes an iOS xcframework rebuild and fixes that rely on published native artefacts. Please add a short upgrade note to the entry indicating that apps must use UsercentricsUI 2.28.2 (and the date it was published), and confirm the package was pushed to CocoaPods/your binary distribution before release. This will help integrators who hit pod install / build issues after upgrading.

### 2.28.2 – Jul 22, 2026
## Fixes
* **[iOS]** Rebuilt `UsercentricsUI.xcframework` with the Xcode 26 / Swift 6.3.3 toolchain, fixing build failures on Xcode 26.6 for apps consuming 2.27.1/2.28.0 (including via the React Native bridge)
* **[PUR]** Fixed Consent-or-Pay mandatory purposes silently overriding the user's real TCF consent state on SDK initialization, causing a desync between the SDK's consent getters and the persisted TC string
* **[TCF]** Removed Special Purposes from the first layer of the TCF banner — not a first-layer requirement
* **[TCF]** Fixed purposes and special features being disclosed in the second layer (and included in the TC string) even when no vendor declared them, when Stacks are enabled

#### Upgrade notes
* iOS integrators must use `UsercentricsUI` **2.28.2** (published to CocoaPods on **Jul 22, 2026**) when upgrading to `@usercentrics/react-native-sdk` 2.28.2 to avoid Xcode 26.x build issues.
* Ensure `pod repo update` has been run so that CocoaPods can resolve `UsercentricsUI (2.28.2)` correctly.


### 2.28.1 – Jul 15, 2026
## Fixes
* **[iOS — Mediation]** Fixed AppLovin CCPA `setDoNotSell` always passing `YES` regardless of the actual consent value
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val usercentricsVersion = "2.28.1"
val usercentricsVersion = "2.28.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[REFACTORING] You bumped usercentricsVersion to "2.28.2" (line 1). Consider centralizing this SDK version in a single shared location (or Gradle ext/value file) if multiple modules or sample apps reference it, to avoid drift and duplicate edits in future releases. Also double-check other build files (sample app build.gradle, CI scripts) that may hardcode the older version so nothing is left referencing 2.28.1. The dependency usage occurs in the dependencies block (see android/build.gradle.kts dependency declarations).

val reactNativeVersion = "+"

fun BooleanProperty(name: String): Boolean {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@usercentrics/react-native-sdk",
"version": "2.28.1",
"version": "2.28.2",
"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.28.1",
"iosPackageVersion": "2.28.2",
Comment on lines +3 to +10

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[CRITICAL_BUG] You updated both "version" and "iosPackageVersion" in package.json (lines 3 and 10) — ensure the lockfile and all published artefacts are consistent: 1) Commit the corresponding package-lock.json / yarn.lock changes to this PR so consumers and CI install the exact bumped package. 2) Verify the npm publish / release pipeline will include the updated react-native-usercentrics.podspec (it reads package['iosPackageVersion']) and that the external iOS binary (UsercentricsUI 2.28.2) is published to CocoaPods / your internal repo before pushing this release. See react-native-usercentrics.podspec which references package['iosPackageVersion'] and s.version (reference: react-native-usercentrics.podspec lines 6-36). If the CocoaPods artifact is not available, consumers will fail on pod install.

"license": "SEE LICENSE IN LICENSE",
"files": [
"android",
Expand Down
16 changes: 8 additions & 8 deletions sample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ PODS:
- ReactCommon/turbomodule/core
- SocketRocket
- Yoga
- react-native-usercentrics (2.28.1):
- react-native-usercentrics (2.28.2):
- boost
- DoubleConversion
- fast_float
Expand All @@ -1951,7 +1951,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- SocketRocket
- UsercentricsUI (= 2.28.1)
- UsercentricsUI (= 2.28.2)
- Yoga
- react-native-webview (13.16.1):
- boost
Expand Down Expand Up @@ -2546,9 +2546,9 @@ PODS:
- SocketRocket
- Yoga
- SocketRocket (0.7.1)
- Usercentrics (2.28.1)
- UsercentricsUI (2.28.1):
- Usercentrics (= 2.28.1)
- Usercentrics (2.28.2)
- UsercentricsUI (2.28.2):
- Usercentrics (= 2.28.2)
- Yoga (0.0.0)

DEPENDENCIES:
Expand Down Expand Up @@ -2850,7 +2850,7 @@ SPEC CHECKSUMS:
React-Mapbuffer: f84e59c14ff145295fbd029c5be16805aabe98d2
React-microtasksnativemodule: 584eb07c9b1f1e684fe63b7fae61ed865f8f228f
react-native-safe-area-context: 7e0ba374906d8f5009aaf96cd19d4866d8de342b
react-native-usercentrics: a1f2696c925473e81285d655d6f5f7c8294ee035
react-native-usercentrics: 581b7026e7cc7d6a14a18ee1ee3f5f1add8f81b2
react-native-webview: 21fdd62caca650645e429b4a84941626612616ef
React-NativeModulesApple: dcfbe72c5a47baec0699a2935c080b7de0c8657b
React-oscompat: 93b5535ea7f7dff46aaee4f78309a70979bdde9d
Expand Down Expand Up @@ -2884,8 +2884,8 @@ SPEC CHECKSUMS:
ReactCommon: a42100667ef42807c485a579847a5ec2c99e0a82
RNScreens: 656e050942ae9445f5cc45d05d57f13ce7a4c8e4
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Usercentrics: ebc354ea9d6a8c266bd6af52d2a947ae8f8ad23a
UsercentricsUI: ee98a324992a0aa466703d9b7965934bdc868c61
Usercentrics: d582dd2a4d474f7521fb1c69b0ad2e36306c8f60
UsercentricsUI: 82c26e8bd40ad89fd4106b53f45ba773eb742429
Yoga: 9b30b783a17681321b52ac507a37219d7d795ace

PODFILE CHECKSUM: 8d257452e9e69d13384a99ee3cd38b42636521da
Expand Down
Loading