@usercentrics/react-native-sdk 2.18.0 → 2.18.2
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 +13 -0
- package/android/build.gradle +1 -1
- package/android/src/androidTest/java/com/usercentrics/reactnativemodule/mock/GetCMPDataMock.kt +5 -1
- package/android/src/main/java/com/usercentrics/reactnativeusercentrics/extensions/UsercentricsCMPDataExtensions.kt +2 -0
- package/ios/Extensions/UsercentricsCMPData+Dict.swift +2 -0
- package/lib/models/UsercentricsLabels.d.ts +2 -1
- package/lib/models/UsercentricsLabels.js +2 -1
- package/lib/models/UsercentricsLabels.js.map +1 -1
- package/lib/models/UsercentricsSettings.d.ts +2 -1
- package/lib/models/UsercentricsSettings.js +2 -1
- package/lib/models/UsercentricsSettings.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
|
|
2
2
|
|
|
3
|
+
### 2.18.2 - November 27, 2024
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
* Added support for manual resurface in the mobile SDK, which can be trigged through Admin Interface.
|
|
7
|
+
|
|
8
|
+
## Improvements
|
|
9
|
+
* Exposed `readLess` label in `UsercentricsLabels` object
|
|
10
|
+
|
|
11
|
+
### 2.18.1 - November 20, 2024
|
|
12
|
+
|
|
13
|
+
## Improvements
|
|
14
|
+
* Caching solutions - Improved our cache solution to provide faster initializations and better UX
|
|
15
|
+
|
|
3
16
|
### 2.18.0 - November 14, 2024
|
|
4
17
|
|
|
5
18
|
## Fixes
|
package/android/build.gradle
CHANGED
package/android/src/androidTest/java/com/usercentrics/reactnativemodule/mock/GetCMPDataMock.kt
CHANGED
|
@@ -154,6 +154,7 @@ internal object GetCMPDataMock {
|
|
|
154
154
|
yes = "yes",
|
|
155
155
|
storageInformationDescription = "Below you can see the longest potential duration for storage on a device, as set when using the cookie method of storage and if there are any other methods used.",
|
|
156
156
|
btnBannerReadMore = "Read more",
|
|
157
|
+
readLess = "Read less",
|
|
157
158
|
btnMore = "more",
|
|
158
159
|
more = "more",
|
|
159
160
|
linkToDpaInfo = "Data Processing Agreement",
|
|
@@ -333,6 +334,7 @@ internal object GetCMPDataMock {
|
|
|
333
334
|
publishedApps = listOf(
|
|
334
335
|
PublishedApp(bundleId = "bundleId", platform = PublishedAppPlatform.ANDROID)
|
|
335
336
|
),
|
|
337
|
+
renewConsentsTimestamp = 1000L
|
|
336
338
|
)
|
|
337
339
|
|
|
338
340
|
// From the debugger
|
|
@@ -411,6 +413,7 @@ internal object GetCMPDataMock {
|
|
|
411
413
|
"yes" to "yes",
|
|
412
414
|
"storageInformationDescription" to "Below you can see the longest potential duration for storage on a device, as set when using the cookie method of storage and if there are any other methods used.",
|
|
413
415
|
"btnBannerReadMore" to "Read more",
|
|
416
|
+
"readLess" to "Read less",
|
|
414
417
|
"btnMore" to "more",
|
|
415
418
|
"more" to "more",
|
|
416
419
|
"linkToDpaInfo" to "Data Processing Agreement",
|
|
@@ -568,7 +571,8 @@ internal object GetCMPDataMock {
|
|
|
568
571
|
"platform" to 0
|
|
569
572
|
)
|
|
570
573
|
),
|
|
571
|
-
"reshowBanner" to 0
|
|
574
|
+
"reshowBanner" to 0,
|
|
575
|
+
"renewConsentsTimestamp" to 1000L
|
|
572
576
|
)
|
|
573
577
|
|
|
574
578
|
val expectedCategories = listOf(
|
|
@@ -62,6 +62,7 @@ private fun UsercentricsSettings.serialize(): WritableMap {
|
|
|
62
62
|
"dpsDisplayFormat" to dpsDisplayFormat?.ordinal,
|
|
63
63
|
"framework" to framework?.ordinal,
|
|
64
64
|
"publishedApps" to publishedApps?.map { it.serialize() },
|
|
65
|
+
"renewConsentsTimestamp" to renewConsentsTimestamp
|
|
65
66
|
).toWritableMap()
|
|
66
67
|
}
|
|
67
68
|
|
|
@@ -127,6 +128,7 @@ private fun UsercentricsLabels.serialize(): Map<String, Any?> {
|
|
|
127
128
|
"yes" to yes,
|
|
128
129
|
"storageInformationDescription" to storageInformationDescription,
|
|
129
130
|
"btnBannerReadMore" to btnBannerReadMore,
|
|
131
|
+
"readLess" to readLess,
|
|
130
132
|
"btnMore" to btnMore,
|
|
131
133
|
"more" to more,
|
|
132
134
|
"linkToDpaInfo" to linkToDpaInfo,
|
|
@@ -43,6 +43,7 @@ extension UsercentricsSettings {
|
|
|
43
43
|
"dpsDisplayFormat": (self.dpsDisplayFormat?.ordinal ?? nil) as Any,
|
|
44
44
|
"framework": (self.framework?.ordinal ?? nil) as Any,
|
|
45
45
|
"publishedApps": (self.publishedApps?.map { $0.toDictionary() } ?? nil) as Any,
|
|
46
|
+
"renewConsentsTimestamp": self.renewConsentsTimestamp as Any,
|
|
46
47
|
]
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -110,6 +111,7 @@ extension UsercentricsLabels {
|
|
|
110
111
|
"yes" : self.yes,
|
|
111
112
|
"storageInformationDescription" : self.storageInformationDescription,
|
|
112
113
|
"btnBannerReadMore" : self.btnBannerReadMore,
|
|
114
|
+
"readLess": self.readLess,
|
|
113
115
|
"btnMore": self.btnMore,
|
|
114
116
|
"more": self.more,
|
|
115
117
|
"linkToDpaInfo" : self.linkToDpaInfo,
|
|
@@ -59,6 +59,7 @@ export declare class UsercentricsLabels {
|
|
|
59
59
|
yes: string;
|
|
60
60
|
storageInformationDescription: string;
|
|
61
61
|
btnBannerReadMore: string;
|
|
62
|
+
readLess: string;
|
|
62
63
|
btnMore: string;
|
|
63
64
|
more: string;
|
|
64
65
|
linkToDpaInfo: string;
|
|
@@ -87,5 +88,5 @@ export declare class UsercentricsLabels {
|
|
|
87
88
|
cookiePolicyLinkText: string;
|
|
88
89
|
noImplicit: string;
|
|
89
90
|
yesImplicit: string;
|
|
90
|
-
constructor(btnAcceptAll: string, btnDeny: string, btnSave: string, firstLayerTitle: string, accepted: string, denied: string, date: string, decision: string, dataCollectedList: string, dataCollectedInfo: string, locationOfProcessing: string, transferToThirdCountries: string, transferToThirdCountriesInfo: string, dataPurposes: string, dataPurposesInfo: string, dataRecipientsList: string, descriptionOfService: string, history: string, historyDescription: string, legalBasisList: string, legalBasisInfo: string, processingCompanyTitle: string, retentionPeriod: string, technologiesUsed: string, technologiesUsedInfo: string, cookiePolicyInfo: string, optOut: string, policyOf: string, imprintLinkText: string, privacyPolicyLinkText: string, categories: string, anyDomain: string, day: string, days: string, domain: string, duration: string, informationLoadingNotPossible: string, hour: string, hours: string, identifier: string, maximumAgeCookieStorage: string, minute: string, minutes: string, month: string, months: string, multipleDomains: string, no: string, nonCookieStorage: string, seconds: string, session: string, loadingStorageInformation: string, storageInformation: string, detailedStorageInformation: string, tryAgain: string, type: string, year: string, years: string, yes: string, storageInformationDescription: string, btnBannerReadMore: string, btnMore: string, more: string, linkToDpaInfo: string, second: string, consent: string, headerModal: string, secondLayerDescriptionHtml: string, secondLayerTitle: string, settings: string, subConsents: string, btnAccept: string, poweredBy: string, dataProtectionOfficer: string, nameOfProcessingCompany: string, btnBack: string, copy: string, copied: string, basic: string, advanced: string, processingCompany: string, name: string, explicit: string, implicit: string, btnMoreInfo: string, furtherInformationOptOut: string, cookiePolicyLinkText: string, noImplicit: string, yesImplicit: string);
|
|
91
|
+
constructor(btnAcceptAll: string, btnDeny: string, btnSave: string, firstLayerTitle: string, accepted: string, denied: string, date: string, decision: string, dataCollectedList: string, dataCollectedInfo: string, locationOfProcessing: string, transferToThirdCountries: string, transferToThirdCountriesInfo: string, dataPurposes: string, dataPurposesInfo: string, dataRecipientsList: string, descriptionOfService: string, history: string, historyDescription: string, legalBasisList: string, legalBasisInfo: string, processingCompanyTitle: string, retentionPeriod: string, technologiesUsed: string, technologiesUsedInfo: string, cookiePolicyInfo: string, optOut: string, policyOf: string, imprintLinkText: string, privacyPolicyLinkText: string, categories: string, anyDomain: string, day: string, days: string, domain: string, duration: string, informationLoadingNotPossible: string, hour: string, hours: string, identifier: string, maximumAgeCookieStorage: string, minute: string, minutes: string, month: string, months: string, multipleDomains: string, no: string, nonCookieStorage: string, seconds: string, session: string, loadingStorageInformation: string, storageInformation: string, detailedStorageInformation: string, tryAgain: string, type: string, year: string, years: string, yes: string, storageInformationDescription: string, btnBannerReadMore: string, readLess: string, btnMore: string, more: string, linkToDpaInfo: string, second: string, consent: string, headerModal: string, secondLayerDescriptionHtml: string, secondLayerTitle: string, settings: string, subConsents: string, btnAccept: string, poweredBy: string, dataProtectionOfficer: string, nameOfProcessingCompany: string, btnBack: string, copy: string, copied: string, basic: string, advanced: string, processingCompany: string, name: string, explicit: string, implicit: string, btnMoreInfo: string, furtherInformationOptOut: string, cookiePolicyLinkText: string, noImplicit: string, yesImplicit: string);
|
|
91
92
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class UsercentricsLabels {
|
|
2
|
-
constructor(btnAcceptAll, btnDeny, btnSave, firstLayerTitle, accepted, denied, date, decision, dataCollectedList, dataCollectedInfo, locationOfProcessing, transferToThirdCountries, transferToThirdCountriesInfo, dataPurposes, dataPurposesInfo, dataRecipientsList, descriptionOfService, history, historyDescription, legalBasisList, legalBasisInfo, processingCompanyTitle, retentionPeriod, technologiesUsed, technologiesUsedInfo, cookiePolicyInfo, optOut, policyOf, imprintLinkText, privacyPolicyLinkText, categories, anyDomain, day, days, domain, duration, informationLoadingNotPossible, hour, hours, identifier, maximumAgeCookieStorage, minute, minutes, month, months, multipleDomains, no, nonCookieStorage, seconds, session, loadingStorageInformation, storageInformation, detailedStorageInformation, tryAgain, type, year, years, yes, storageInformationDescription, btnBannerReadMore, btnMore, more, linkToDpaInfo, second, consent, headerModal, secondLayerDescriptionHtml, secondLayerTitle, settings, subConsents, btnAccept, poweredBy, dataProtectionOfficer, nameOfProcessingCompany, btnBack, copy, copied, basic, advanced, processingCompany, name, explicit, implicit, btnMoreInfo, furtherInformationOptOut, cookiePolicyLinkText, noImplicit, yesImplicit) {
|
|
2
|
+
constructor(btnAcceptAll, btnDeny, btnSave, firstLayerTitle, accepted, denied, date, decision, dataCollectedList, dataCollectedInfo, locationOfProcessing, transferToThirdCountries, transferToThirdCountriesInfo, dataPurposes, dataPurposesInfo, dataRecipientsList, descriptionOfService, history, historyDescription, legalBasisList, legalBasisInfo, processingCompanyTitle, retentionPeriod, technologiesUsed, technologiesUsedInfo, cookiePolicyInfo, optOut, policyOf, imprintLinkText, privacyPolicyLinkText, categories, anyDomain, day, days, domain, duration, informationLoadingNotPossible, hour, hours, identifier, maximumAgeCookieStorage, minute, minutes, month, months, multipleDomains, no, nonCookieStorage, seconds, session, loadingStorageInformation, storageInformation, detailedStorageInformation, tryAgain, type, year, years, yes, storageInformationDescription, btnBannerReadMore, readLess, btnMore, more, linkToDpaInfo, second, consent, headerModal, secondLayerDescriptionHtml, secondLayerTitle, settings, subConsents, btnAccept, poweredBy, dataProtectionOfficer, nameOfProcessingCompany, btnBack, copy, copied, basic, advanced, processingCompany, name, explicit, implicit, btnMoreInfo, furtherInformationOptOut, cookiePolicyLinkText, noImplicit, yesImplicit) {
|
|
3
3
|
this.btnAcceptAll = btnAcceptAll;
|
|
4
4
|
this.btnDeny = btnDeny;
|
|
5
5
|
this.btnSave = btnSave;
|
|
@@ -60,6 +60,7 @@ export class UsercentricsLabels {
|
|
|
60
60
|
this.yes = yes;
|
|
61
61
|
this.storageInformationDescription = storageInformationDescription;
|
|
62
62
|
this.btnBannerReadMore = btnBannerReadMore;
|
|
63
|
+
this.readLess = readLess;
|
|
63
64
|
this.btnMore = btnMore;
|
|
64
65
|
this.more = more;
|
|
65
66
|
this.linkToDpaInfo = linkToDpaInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsercentricsLabels.js","sourceRoot":"","sources":["../../src/models/UsercentricsLabels.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,kBAAkB;
|
|
1
|
+
{"version":3,"file":"UsercentricsLabels.js","sourceRoot":"","sources":["../../src/models/UsercentricsLabels.tsx"],"names":[],"mappings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AAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAA;QACxD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAClC,CAAC;CACJ"}
|
|
@@ -28,7 +28,8 @@ export declare class UsercentricsSettings {
|
|
|
28
28
|
dpsDisplayFormat?: DpsDisplayFormat;
|
|
29
29
|
framework?: USAFrameworks;
|
|
30
30
|
publishedApps?: [PublishedApp];
|
|
31
|
-
|
|
31
|
+
renewConsentsTimestamp?: number;
|
|
32
|
+
constructor(labels: UsercentricsLabels, version: string, language: string, imprintUrl: string, privacyPolicyUrl: string, cookiePolicyUrl: string, firstLayerDescriptionHtml: string, firstLayerMobileDescriptionHtml: string, settingsId: string, bannerMobileDescriptionIsActive: boolean, enablePoweredBy: boolean, displayOnlyForEU: boolean, tcf2Enabled: boolean, reshowBanner: number, editableLanguages: [string], languagesAvailable: [string], showInitialViewForVersionChange: [string], ccpa?: CCPASettings, tcf2?: TCF2Settings, customization?: string, firstLayer?: FirstLayer, secondLayer?: SecondLayer, variants?: VariantsSettings, dpsDisplayFormat?: DpsDisplayFormat, framework?: USAFrameworks, publishedApps?: [PublishedApp], renewConsentsTimestamp?: number);
|
|
32
33
|
}
|
|
33
34
|
export declare class FirstLayer {
|
|
34
35
|
hideButtonDeny?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class UsercentricsSettings {
|
|
2
|
-
constructor(labels, version, language, imprintUrl, privacyPolicyUrl, cookiePolicyUrl, firstLayerDescriptionHtml, firstLayerMobileDescriptionHtml, settingsId, bannerMobileDescriptionIsActive, enablePoweredBy, displayOnlyForEU, tcf2Enabled, reshowBanner, editableLanguages, languagesAvailable, showInitialViewForVersionChange, ccpa, tcf2, customization, firstLayer, secondLayer, variants, dpsDisplayFormat, framework, publishedApps) {
|
|
2
|
+
constructor(labels, version, language, imprintUrl, privacyPolicyUrl, cookiePolicyUrl, firstLayerDescriptionHtml, firstLayerMobileDescriptionHtml, settingsId, bannerMobileDescriptionIsActive, enablePoweredBy, displayOnlyForEU, tcf2Enabled, reshowBanner, editableLanguages, languagesAvailable, showInitialViewForVersionChange, ccpa, tcf2, customization, firstLayer, secondLayer, variants, dpsDisplayFormat, framework, publishedApps, renewConsentsTimestamp) {
|
|
3
3
|
this.labels = labels;
|
|
4
4
|
this.version = version;
|
|
5
5
|
this.language = language;
|
|
@@ -26,6 +26,7 @@ export class UsercentricsSettings {
|
|
|
26
26
|
this.dpsDisplayFormat = dpsDisplayFormat;
|
|
27
27
|
this.framework = framework;
|
|
28
28
|
this.publishedApps = publishedApps;
|
|
29
|
+
this.renewConsentsTimestamp = renewConsentsTimestamp;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
export class FirstLayer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsercentricsSettings.js","sourceRoot":"","sources":["../../src/models/UsercentricsSettings.tsx"],"names":[],"mappings":"AAIA,MAAM,OAAO,oBAAoB;
|
|
1
|
+
{"version":3,"file":"UsercentricsSettings.js","sourceRoot":"","sources":["../../src/models/UsercentricsSettings.tsx"],"names":[],"mappings":"AAIA,MAAM,OAAO,oBAAoB;IA6B7B,YACI,MAA0B,EAC1B,OAAe,EACf,QAAgB,EAChB,UAAkB,EAClB,gBAAwB,EACxB,eAAuB,EACvB,yBAAiC,EACjC,+BAAuC,EACvC,UAAkB,EAClB,+BAAwC,EACxC,eAAwB,EACxB,gBAAyB,EACzB,WAAoB,EACpB,YAAoB,EACpB,iBAA2B,EAC3B,kBAA4B,EAC5B,+BAAyC,EACzC,IAAmB,EACnB,IAAmB,EACnB,aAAsB,EACtB,UAAuB,EACvB,WAAyB,EACzB,QAA2B,EAC3B,gBAAmC,EACnC,SAAyB,EACzB,aAA8B,EAC9B,sBAA+B;QAE/B,IAAI,CAAC,MAAM,G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EAAW,CAAA;IACX,6DAAO,CAAA;AACX,CAAC,EAHW,oBAAoB,KAApB,oBAAoB,QAG/B"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usercentrics/react-native-sdk",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.2",
|
|
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.18.
|
|
10
|
+
"iosPackageVersion": "2.18.2",
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"files": [
|
|
13
13
|
"android",
|