@usercentrics/react-native-sdk 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/android/build.gradle +1 -1
- package/android/src/androidTest/java/com/usercentrics/reactnativemodule/mock/GetCMPDataMock.kt +0 -2
- package/android/src/main/java/com/usercentrics/reactnativeusercentrics/extensions/UsercentricsCMPDataExtensions.kt +0 -1
- package/ios/Extensions/UsercentricsCMPData+Dict.swift +0 -1
- package/lib/models/TCF2Settings.d.ts +1 -2
- package/lib/models/TCF2Settings.js +1 -2
- package/lib/models/TCF2Settings.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
|
|
2
2
|
|
|
3
|
+
# 2.7.1
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
* **[Restore User Session][TCF]** With this release, you will now be able to restore user sessions when using a TCF configuration. This feature however, needs to be enabled and approved. Please contact your Customer Success Manager for more information.
|
|
8
|
+
|
|
9
|
+
## Improvements
|
|
10
|
+
|
|
11
|
+
* API upgrades to improve performance and storage space usage.
|
|
12
|
+
* **[TCF]** Updates to TCF logic, for custom use cases.
|
|
13
|
+
|
|
14
|
+
## Resolved Issues
|
|
15
|
+
|
|
16
|
+
* **[iOS][Dark Mode]** Solve issue where SDK was overwritting theme to always be "light".
|
|
17
|
+
* Improvements to solve "NullPointerException" and unknown origin crashes.
|
|
18
|
+
|
|
19
|
+
# 2.7.0
|
|
20
|
+
|
|
21
|
+
## Features
|
|
22
|
+
|
|
23
|
+
- **[Dark Mode][Customization API]** Support Dark Mode and create advanced banner customizations with our updated [Customization API](https://docs.usercentrics.com/cmp_in_app_sdk/latest/collect_consent/usercentrics-ui/#programmatic-customization). :first_quarter_moon:
|
|
24
|
+
- **[Beta][Consent Mediation]** Automatically apply consent to 3rd party SDKs with our [Consent Mediation](https://docs.usercentrics.com/cmp_in_app_sdk/latest/apply_consent/consent-mediation) feature. :partying_face:
|
|
25
|
+
- UI improvements to history section.
|
|
26
|
+
- Added additional customization options for TCF 2.0 banner.
|
|
27
|
+
|
|
28
|
+
## Resolved Issues
|
|
29
|
+
|
|
30
|
+
- Solved stability issues.
|
|
31
|
+
|
|
3
32
|
# 2.6.1
|
|
4
33
|
|
|
5
34
|
## Improvements
|
package/android/build.gradle
CHANGED
package/android/src/androidTest/java/com/usercentrics/reactnativemodule/mock/GetCMPDataMock.kt
CHANGED
|
@@ -252,7 +252,6 @@ internal class GetCMPDataMock {
|
|
|
252
252
|
"Your choices for this website will be applied globally, which means they will be available to other websites that set your choices globally.",
|
|
253
253
|
togglesSpecialFeaturesToggleOn = "On",
|
|
254
254
|
vendorSpecialFeatures = "Special Features",
|
|
255
|
-
resurfaceIABLegalBasisChanged = true,
|
|
256
255
|
appLayerNoteResurface =
|
|
257
256
|
"You can change your privacy settings or withdraw your consent at any time by opening the menu point Privacy Settings.",
|
|
258
257
|
cmpVersion = 3,
|
|
@@ -481,7 +480,6 @@ internal class GetCMPDataMock {
|
|
|
481
480
|
"disabledSpecialFeatures" to listOf<Any>(),
|
|
482
481
|
"firstLayerShowDescriptions" to false,
|
|
483
482
|
"hideNonIabOnFirstLayer" to false,
|
|
484
|
-
"resurfaceIABLegalBasisChanged" to true,
|
|
485
483
|
"resurfacePeriodEnded" to true,
|
|
486
484
|
"resurfacePurposeChanged" to true,
|
|
487
485
|
"resurfaceVendorAdded" to true,
|
|
@@ -189,7 +189,6 @@ private fun TCF2Settings.serialize(): WritableMap {
|
|
|
189
189
|
"disabledSpecialFeatures" to disabledSpecialFeatures,
|
|
190
190
|
"firstLayerShowDescriptions" to firstLayerShowDescriptions,
|
|
191
191
|
"hideNonIabOnFirstLayer" to hideNonIabOnFirstLayer,
|
|
192
|
-
"resurfaceIABLegalBasisChanged" to resurfaceIABLegalBasisChanged,
|
|
193
192
|
"resurfacePeriodEnded" to resurfacePeriodEnded,
|
|
194
193
|
"resurfacePurposeChanged" to resurfacePurposeChanged,
|
|
195
194
|
"resurfaceVendorAdded" to resurfaceVendorAdded,
|
|
@@ -194,7 +194,6 @@ extension TCF2Settings {
|
|
|
194
194
|
"disabledSpecialFeatures" : self.disabledSpecialFeatures,
|
|
195
195
|
"firstLayerShowDescriptions" : self.firstLayerShowDescriptions,
|
|
196
196
|
"hideNonIabOnFirstLayer" : self.hideNonIabOnFirstLayer,
|
|
197
|
-
"resurfaceIABLegalBasisChanged" : self.resurfaceIABLegalBasisChanged,
|
|
198
197
|
"resurfacePeriodEnded" : self.resurfacePeriodEnded,
|
|
199
198
|
"resurfacePurposeChanged" : self.resurfacePurposeChanged,
|
|
200
199
|
"resurfaceVendorAdded" : self.resurfaceVendorAdded,
|
|
@@ -37,7 +37,6 @@ export declare class TCF2Settings {
|
|
|
37
37
|
disabledSpecialFeatures: [number];
|
|
38
38
|
firstLayerShowDescriptions: boolean;
|
|
39
39
|
hideNonIabOnFirstLayer: boolean;
|
|
40
|
-
resurfaceIABLegalBasisChanged: boolean;
|
|
41
40
|
resurfacePeriodEnded: boolean;
|
|
42
41
|
resurfacePurposeChanged: boolean;
|
|
43
42
|
resurfaceVendorAdded: boolean;
|
|
@@ -50,5 +49,5 @@ export declare class TCF2Settings {
|
|
|
50
49
|
appLayerNoteResurface: string;
|
|
51
50
|
firstLayerNoteGlobal: string;
|
|
52
51
|
firstLayerNoteResurface: string;
|
|
53
|
-
constructor(firstLayerTitle: string, secondLayerTitle: string, tabsPurposeLabel: string, tabsVendorsLabel: string, labelsFeatures: string, labelsIabVendors: string, labelsNonIabPurposes: string, labelsNonIabVendors: string, labelsPurposes: string, vendorFeatures: string, vendorLegitimateInterestPurposes: string, vendorPurpose: string, vendorSpecialFeatures: string, vendorSpecialPurposes: string, togglesConsentToggleLabel: string, togglesLegIntToggleLabel: string, buttonsAcceptAllLabel: string, buttonsDenyAllLabel: string, buttonsSaveLabel: string, linksManageSettingsLabel: string, linksVendorListLinkLabel: string, cmpId: number, cmpVersion: number, firstLayerHideToggles: boolean, secondLayerHideToggles: boolean, hideLegitimateInterestToggles: boolean, secondLayerHideButtonDeny: boolean, publisherCountryCode: string, purposeOneTreatment: boolean, selectedVendorIds: [number], gdprApplies: boolean, consensuDomain: string, consensuScriptPath: string, selectedStacks: [number], disabledSpecialFeatures: [number], firstLayerShowDescriptions: boolean, hideNonIabOnFirstLayer: boolean,
|
|
52
|
+
constructor(firstLayerTitle: string, secondLayerTitle: string, tabsPurposeLabel: string, tabsVendorsLabel: string, labelsFeatures: string, labelsIabVendors: string, labelsNonIabPurposes: string, labelsNonIabVendors: string, labelsPurposes: string, vendorFeatures: string, vendorLegitimateInterestPurposes: string, vendorPurpose: string, vendorSpecialFeatures: string, vendorSpecialPurposes: string, togglesConsentToggleLabel: string, togglesLegIntToggleLabel: string, buttonsAcceptAllLabel: string, buttonsDenyAllLabel: string, buttonsSaveLabel: string, linksManageSettingsLabel: string, linksVendorListLinkLabel: string, cmpId: number, cmpVersion: number, firstLayerHideToggles: boolean, secondLayerHideToggles: boolean, hideLegitimateInterestToggles: boolean, secondLayerHideButtonDeny: boolean, publisherCountryCode: string, purposeOneTreatment: boolean, selectedVendorIds: [number], gdprApplies: boolean, consensuDomain: string, consensuScriptPath: string, selectedStacks: [number], disabledSpecialFeatures: [number], firstLayerShowDescriptions: boolean, hideNonIabOnFirstLayer: boolean, resurfacePeriodEnded: boolean, resurfacePurposeChanged: boolean, resurfaceVendorAdded: boolean, vendorToggleAll: boolean, firstLayerDescription: string, firstLayerAdditionalInfo: string, secondLayerDescription: string, togglesSpecialFeaturesToggleOn: string, togglesSpecialFeaturesToggleOff: string, appLayerNoteResurface: string, firstLayerNoteGlobal: string, firstLayerNoteResurface: string, firstLayerHideButtonDeny?: boolean);
|
|
54
53
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class TCF2Settings {
|
|
2
|
-
constructor(firstLayerTitle, secondLayerTitle, tabsPurposeLabel, tabsVendorsLabel, labelsFeatures, labelsIabVendors, labelsNonIabPurposes, labelsNonIabVendors, labelsPurposes, vendorFeatures, vendorLegitimateInterestPurposes, vendorPurpose, vendorSpecialFeatures, vendorSpecialPurposes, togglesConsentToggleLabel, togglesLegIntToggleLabel, buttonsAcceptAllLabel, buttonsDenyAllLabel, buttonsSaveLabel, linksManageSettingsLabel, linksVendorListLinkLabel, cmpId, cmpVersion, firstLayerHideToggles, secondLayerHideToggles, hideLegitimateInterestToggles, secondLayerHideButtonDeny, publisherCountryCode, purposeOneTreatment, selectedVendorIds, gdprApplies, consensuDomain, consensuScriptPath, selectedStacks, disabledSpecialFeatures, firstLayerShowDescriptions, hideNonIabOnFirstLayer,
|
|
2
|
+
constructor(firstLayerTitle, secondLayerTitle, tabsPurposeLabel, tabsVendorsLabel, labelsFeatures, labelsIabVendors, labelsNonIabPurposes, labelsNonIabVendors, labelsPurposes, vendorFeatures, vendorLegitimateInterestPurposes, vendorPurpose, vendorSpecialFeatures, vendorSpecialPurposes, togglesConsentToggleLabel, togglesLegIntToggleLabel, buttonsAcceptAllLabel, buttonsDenyAllLabel, buttonsSaveLabel, linksManageSettingsLabel, linksVendorListLinkLabel, cmpId, cmpVersion, firstLayerHideToggles, secondLayerHideToggles, hideLegitimateInterestToggles, secondLayerHideButtonDeny, publisherCountryCode, purposeOneTreatment, selectedVendorIds, gdprApplies, consensuDomain, consensuScriptPath, selectedStacks, disabledSpecialFeatures, firstLayerShowDescriptions, hideNonIabOnFirstLayer, resurfacePeriodEnded, resurfacePurposeChanged, resurfaceVendorAdded, vendorToggleAll, firstLayerDescription, firstLayerAdditionalInfo, secondLayerDescription, togglesSpecialFeaturesToggleOn, togglesSpecialFeaturesToggleOff, appLayerNoteResurface, firstLayerNoteGlobal, firstLayerNoteResurface, firstLayerHideButtonDeny) {
|
|
3
3
|
this.firstLayerTitle = firstLayerTitle;
|
|
4
4
|
this.secondLayerTitle = secondLayerTitle;
|
|
5
5
|
this.tabsPurposeLabel = tabsPurposeLabel;
|
|
@@ -38,7 +38,6 @@ export class TCF2Settings {
|
|
|
38
38
|
this.disabledSpecialFeatures = disabledSpecialFeatures;
|
|
39
39
|
this.firstLayerShowDescriptions = firstLayerShowDescriptions;
|
|
40
40
|
this.hideNonIabOnFirstLayer = hideNonIabOnFirstLayer;
|
|
41
|
-
this.resurfaceIABLegalBasisChanged = resurfaceIABLegalBasisChanged;
|
|
42
41
|
this.resurfacePeriodEnded = resurfacePeriodEnded;
|
|
43
42
|
this.resurfacePurposeChanged = resurfacePurposeChanged;
|
|
44
43
|
this.resurfaceVendorAdded = resurfaceVendorAdded;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TCF2Settings.js","sourceRoot":"","sources":["../../src/models/TCF2Settings.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,YAAY;
|
|
1
|
+
{"version":3,"file":"TCF2Settings.js","sourceRoot":"","sources":["../../src/models/TCF2Settings.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,YAAY;IAqDvB,YACE,eAAuB,EACvB,gBAAwB,EACxB,gBAAwB,EACxB,gBAAwB,EACxB,cAAsB,EACtB,gBAAwB,EACxB,oBAA4B,EAC5B,mBAA2B,EAC3B,cAAsB,EACtB,cAAsB,EACtB,gCAAwC,EACxC,aAAqB,EACrB,qBAA6B,EAC7B,qBAA6B,EAC7B,yBAAiC,EACjC,wBAAgC,EAChC,qBAA6B,EAC7B,mBAA2B,EAC3B,gBAAwB,EACxB,wBAAgC,EAChC,wBAAgC,EAChC,KAAa,EACb,UAAkB,EAClB,qBAA8B,EAC9B,sBAA+B,EAC/B,6BAAsC,EACtC,yBAAkC,EAClC,oBAA4B,EAC5B,mBAA4B,EAC5B,iBAA2B,EAC3B,WAAoB,EACpB,cAAsB,EACtB,kBAA0B,EAC1B,cAAwB,EACxB,uBAAiC,EACjC,0BAAmC,EACnC,sBAA+B,EAC/B,oBAA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AuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;CAEF"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usercentrics/react-native-sdk",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "Usercentrics SDK",
|
|
5
5
|
"homepage": "https://usercentrics.com",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
8
8
|
"author": "Usercentrics <developer@usercentrics.com>",
|
|
9
9
|
"iosPackageName": "react-native-usercentrics",
|
|
10
|
-
"iosPackageVersion": "2.7.
|
|
10
|
+
"iosPackageVersion": "2.7.1",
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"files": [
|
|
13
13
|
"android",
|