@usercentrics/react-native-sdk 2.7.16 → 2.8.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 +38 -8
- package/android/build.gradle +1 -1
- package/android/src/androidTest/java/com/usercentrics/reactnativemodule/mock/GetCMPDataMock.kt +10 -2
- package/android/src/main/java/com/usercentrics/reactnativeusercentrics/extensions/UsercentricsCMPDataExtensions.kt +6 -3
- package/ios/Extensions/UsercentricsCMPData+Dict.swift +7 -2
- package/ios/RNUsercentricsModule.xcodeproj/project.pbxproj +0 -2
- package/lib/models/UsercentricsLabels.d.ts +3 -1
- package/lib/models/UsercentricsLabels.js +3 -1
- package/lib/models/UsercentricsLabels.js.map +1 -1
- package/lib/models/UsercentricsService.d.ts +2 -1
- package/lib/models/UsercentricsService.js +2 -1
- package/lib/models/UsercentricsService.js.map +1 -1
- package/lib/models/UsercentricsSettings.d.ts +3 -1
- package/lib/models/UsercentricsSettings.js +3 -1
- package/lib/models/UsercentricsSettings.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,34 @@
|
|
|
1
1
|
[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
|
|
2
|
+
|
|
3
|
+
### 2.8.1 - June 9, 2023
|
|
4
|
+
|
|
5
|
+
## Improvements
|
|
6
|
+
|
|
7
|
+
* `onConsentUpdated` event is not triggered after initialization
|
|
8
|
+
* Banner reshow logic
|
|
9
|
+
|
|
10
|
+
## Resolved Issues
|
|
11
|
+
|
|
12
|
+
* Boolean values sent via consent mediation to Adjust
|
|
13
|
+
* Apple TV labels being cut off
|
|
14
|
+
* Android TV issue when showing TCF on 2nd layer
|
|
15
|
+
* Solved general issues
|
|
16
|
+
|
|
17
|
+
### 2.8.0 - May 8, 2023
|
|
18
|
+
|
|
19
|
+
## Features
|
|
20
|
+
|
|
21
|
+
* Support US Frameworks
|
|
22
|
+
|
|
23
|
+
## Improvements
|
|
24
|
+
|
|
25
|
+
* Remove deprecated method (showFirstLayer(layout: UsercetricsLayout))
|
|
26
|
+
|
|
27
|
+
## Resolved Issues
|
|
28
|
+
|
|
29
|
+
* Mediation issues
|
|
30
|
+
* Solved general issues
|
|
31
|
+
|
|
2
32
|
### 2.7.16
|
|
3
33
|
|
|
4
34
|
## Features
|
|
@@ -47,9 +77,9 @@
|
|
|
47
77
|
|
|
48
78
|
## Improvements
|
|
49
79
|
|
|
50
|
-
* Several improvements on Consent Mediation
|
|
51
|
-
|
|
52
|
-
|
|
80
|
+
* Several improvements on Consent Mediation
|
|
81
|
+
* Add support for Adjust and Crashlytics.
|
|
82
|
+
* Add support for Custom DPSs.
|
|
53
83
|
|
|
54
84
|
## Resolved Issues
|
|
55
85
|
|
|
@@ -265,11 +295,11 @@
|
|
|
265
295
|
## Features
|
|
266
296
|
|
|
267
297
|
- **[Banner API v2]** A complete revamp of our banner API will enable you to have high customisation and versatility to build a end-user friendly consent banner. We can't wait for you to give it a try. For more details, see: Presenting the Banner.
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
298
|
+
- Add a Header Image to your banner.
|
|
299
|
+
- Have full control over the layour of your action buttons with Column, Row or Grid configurations.
|
|
300
|
+
- Launch the second layer directly.
|
|
301
|
+
- Landscape Mode support.
|
|
302
|
+
- You can now add a "More Information" link to your banner message to forward users to the 2nd Layer. Appearance > Settings > More Information Link in Banner Message. Then you will be able to add this link in the banner message text editor.
|
|
273
303
|
- **[Usability]** Collect consent only at a category level. Option available in your Admin Interface: Configure > Legal Specifications > Settings > Category Consent.
|
|
274
304
|
- **[CNIL]** "Continue wthout Accepting" feature is now supported. (French regulation)
|
|
275
305
|
- **[Fonts]** Admin Interface fonts are now deprecated for App. To enable custom fonts, please inject the font via banner API.
|
package/android/build.gradle
CHANGED
package/android/src/androidTest/java/com/usercentrics/reactnativemodule/mock/GetCMPDataMock.kt
CHANGED
|
@@ -51,6 +51,7 @@ internal class GetCMPDataMock {
|
|
|
51
51
|
description = "",
|
|
52
52
|
isDeactivated = false,
|
|
53
53
|
disableLegalBasis = false,
|
|
54
|
+
technologyUsed = listOf("Cookies", "Pixel Tags")
|
|
54
55
|
)
|
|
55
56
|
)
|
|
56
57
|
private val fakeLabels = UsercentricsLabels(
|
|
@@ -157,7 +158,9 @@ internal class GetCMPDataMock {
|
|
|
157
158
|
hideLanguageSwitch = false,
|
|
158
159
|
tabsCategoriesLabel = "Categories",
|
|
159
160
|
hideButtonDeny = false,
|
|
160
|
-
hideTogglesForServices = false
|
|
161
|
+
hideTogglesForServices = false,
|
|
162
|
+
acceptButtonText = "Accept All",
|
|
163
|
+
denyButtonText = "Deny All",
|
|
161
164
|
)
|
|
162
165
|
private val fakeTCF2Settings = TCF2Settings(
|
|
163
166
|
togglesSpecialFeaturesToggleOff = "Off",
|
|
@@ -274,6 +277,8 @@ internal class GetCMPDataMock {
|
|
|
274
277
|
"tabsServicesLabel" to "Services",
|
|
275
278
|
"hideButtonDeny" to false,
|
|
276
279
|
"hideLanguageSwitch" to false,
|
|
280
|
+
"acceptButtonText" to "Accept All",
|
|
281
|
+
"denyButtonText" to "Deny All"
|
|
277
282
|
)
|
|
278
283
|
private val expectedLabels = hashMapOf(
|
|
279
284
|
"btnAcceptAll" to "Accept All",
|
|
@@ -340,6 +345,8 @@ internal class GetCMPDataMock {
|
|
|
340
345
|
"consent" to "Consent",
|
|
341
346
|
"secondLayerTitle" to "Privacy Settings Title",
|
|
342
347
|
"secondLayerDescriptionHtml" to "Privacy Settings Description",
|
|
348
|
+
"btnMore" to "more",
|
|
349
|
+
"explicit" to "Explicit"
|
|
343
350
|
)
|
|
344
351
|
private val expectedTCF2Settings = hashMapOf(
|
|
345
352
|
"firstLayerTitle" to "Privacy Information",
|
|
@@ -489,7 +496,8 @@ internal class GetCMPDataMock {
|
|
|
489
496
|
"description" to "",
|
|
490
497
|
"isDeactivated" to false,
|
|
491
498
|
"disableLegalBasis" to false,
|
|
499
|
+
"technologyUsed" to listOf("Cookies", "Pixel Tags")
|
|
492
500
|
)
|
|
493
501
|
)
|
|
494
502
|
}
|
|
495
|
-
}
|
|
503
|
+
}
|
|
@@ -110,6 +110,8 @@ private fun UsercentricsLabels.serialize(): Map<String, Any?> {
|
|
|
110
110
|
"consent" to consent,
|
|
111
111
|
"secondLayerTitle" to secondLayerTitle,
|
|
112
112
|
"secondLayerDescriptionHtml" to secondLayerDescriptionHtml,
|
|
113
|
+
"btnMore" to btnMore,
|
|
114
|
+
"explicit" to (explicit ?: "")
|
|
113
115
|
)
|
|
114
116
|
}
|
|
115
117
|
|
|
@@ -237,10 +239,10 @@ private fun FirstLayer.serialize(): WritableMap {
|
|
|
237
239
|
|
|
238
240
|
private fun SecondLayer.serialize(): WritableMap {
|
|
239
241
|
return mapOf(
|
|
240
|
-
// Required
|
|
241
242
|
"tabsCategoriesLabel" to tabsCategoriesLabel,
|
|
242
243
|
"tabsServicesLabel" to tabsServicesLabel,
|
|
243
|
-
|
|
244
|
+
"acceptButtonText" to (acceptButtonText ?: ""),
|
|
245
|
+
"denyButtonText" to (denyButtonText ?: ""),
|
|
244
246
|
"hideButtonDeny" to hideButtonDeny,
|
|
245
247
|
"hideLanguageSwitch" to hideLanguageSwitch,
|
|
246
248
|
).toWritableMap()
|
|
@@ -284,6 +286,7 @@ private fun UsercentricsService.serialize(): WritableMap {
|
|
|
284
286
|
"deviceStorageDisclosureUrl" to deviceStorageDisclosureUrl,
|
|
285
287
|
"isDeactivated" to isDeactivated,
|
|
286
288
|
"disableLegalBasis" to disableLegalBasis,
|
|
289
|
+
"technologyUsed" to technologyUsed
|
|
287
290
|
).toWritableMap()
|
|
288
291
|
}
|
|
289
292
|
|
|
@@ -305,4 +308,4 @@ private fun UsercentricsLocation.serialize(): WritableMap {
|
|
|
305
308
|
"isInUS" to isInUS(),
|
|
306
309
|
"isInCalifornia" to isInCalifornia(),
|
|
307
310
|
).toWritableMap()
|
|
308
|
-
}
|
|
311
|
+
}
|
|
@@ -109,7 +109,9 @@ extension UsercentricsLabels {
|
|
|
109
109
|
"second" : self.second,
|
|
110
110
|
"consent" : self.consent,
|
|
111
111
|
"secondLayerDescriptionHtml" : self.secondLayerDescriptionHtml,
|
|
112
|
-
"secondLayerTitle" : self.secondLayerTitle ?? ""
|
|
112
|
+
"secondLayerTitle" : self.secondLayerTitle ?? "",
|
|
113
|
+
"btnMore": self.btnMore,
|
|
114
|
+
"explicit": self.explicit_ ?? ""
|
|
113
115
|
]
|
|
114
116
|
}
|
|
115
117
|
}
|
|
@@ -265,7 +267,9 @@ extension SecondLayer {
|
|
|
265
267
|
"tabsCategoriesLabel" : self.tabsCategoriesLabel,
|
|
266
268
|
"tabsServicesLabel" : self.tabsServicesLabel,
|
|
267
269
|
"hideButtonDeny" : hideButtonDeny?.boolValue as Any,
|
|
268
|
-
"hideLanguageSwitch" : hideLanguageSwitch?.boolValue as Any
|
|
270
|
+
"hideLanguageSwitch" : hideLanguageSwitch?.boolValue as Any,
|
|
271
|
+
"acceptButtonText": self.acceptButtonText ?? "",
|
|
272
|
+
"denyButtonText": self.denyButtonText ?? "",
|
|
269
273
|
]
|
|
270
274
|
}
|
|
271
275
|
}
|
|
@@ -311,6 +315,7 @@ extension UsercentricsService {
|
|
|
311
315
|
"deviceStorageDisclosureUrl" : self.deviceStorageDisclosureUrl as Any,
|
|
312
316
|
"isDeactivated" : isDeactivated?.boolValue as Any,
|
|
313
317
|
"disableLegalBasis" : disableLegalBasis?.boolValue as Any,
|
|
318
|
+
"technologyUsed": self.technologyUsed,
|
|
314
319
|
]
|
|
315
320
|
}
|
|
316
321
|
}
|
|
@@ -342,7 +342,6 @@
|
|
|
342
342
|
isa = XCBuildConfiguration;
|
|
343
343
|
buildSettings = {
|
|
344
344
|
CLANG_ENABLE_MODULES = YES;
|
|
345
|
-
CODE_SIGN_STYLE = Automatic;
|
|
346
345
|
HEADER_SEARCH_PATHS = (
|
|
347
346
|
"$(inherited)",
|
|
348
347
|
"$(SRCROOT)/../example/ios/Pods/Headers/Public/React-Core",
|
|
@@ -367,7 +366,6 @@
|
|
|
367
366
|
isa = XCBuildConfiguration;
|
|
368
367
|
buildSettings = {
|
|
369
368
|
CLANG_ENABLE_MODULES = YES;
|
|
370
|
-
CODE_SIGN_STYLE = Automatic;
|
|
371
369
|
HEADER_SEARCH_PATHS = (
|
|
372
370
|
"$(inherited)",
|
|
373
371
|
"$(SRCROOT)/../example/ios/Pods/Headers/Public/React-Core",
|
|
@@ -63,5 +63,7 @@ export declare class UsercentricsLabels {
|
|
|
63
63
|
consent: string;
|
|
64
64
|
secondLayerDescriptionHtml: string;
|
|
65
65
|
secondLayerTitle: string;
|
|
66
|
-
|
|
66
|
+
btnMore: string;
|
|
67
|
+
explicit: string;
|
|
68
|
+
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, 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, linkToDpaInfo: string, second: string, consent: string, secondLayerDescriptionHtml: string, secondLayerTitle: string, btnMore: string, explicit: string);
|
|
67
69
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class UsercentricsLabels {
|
|
2
|
-
constructor(btnAcceptAll, btnDeny, btnSave, firstLayerTitle, accepted, denied, date, decision, dataCollectedList, dataCollectedInfo, locationOfProcessing, transferToThirdCountries, 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, linkToDpaInfo, second, consent, secondLayerDescriptionHtml, secondLayerTitle) {
|
|
2
|
+
constructor(btnAcceptAll, btnDeny, btnSave, firstLayerTitle, accepted, denied, date, decision, dataCollectedList, dataCollectedInfo, locationOfProcessing, transferToThirdCountries, 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, linkToDpaInfo, second, consent, secondLayerDescriptionHtml, secondLayerTitle, btnMore, explicit) {
|
|
3
3
|
this.btnAcceptAll = btnAcceptAll;
|
|
4
4
|
this.btnDeny = btnDeny;
|
|
5
5
|
this.btnSave = btnSave;
|
|
@@ -64,6 +64,8 @@ export class UsercentricsLabels {
|
|
|
64
64
|
this.consent = consent;
|
|
65
65
|
this.secondLayerDescriptionHtml = secondLayerDescriptionHtml;
|
|
66
66
|
this.secondLayerTitle = secondLayerTitle;
|
|
67
|
+
this.btnMore = btnMore;
|
|
68
|
+
this.explicit = explicit;
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
//# sourceMappingURL=UsercentricsLabels.js.map
|
|
@@ -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":"AAAA,MAAM,OAAO,kBAAkB;IAoE7B,YACE,YAAoB,EACpB,OAAe,EACf,OAAe,EACf,eAAuB,EACvB,QAAgB,EAChB,MAAc,EACd,IAAY,EACZ,QAAgB,EAChB,iBAAyB,EACzB,iBAAyB,EACzB,oBAA4B,EAC5B,wBAAgC,EAChC,YAAoB,EACpB,gBAAwB,EACxB,kBAA0B,EAC1B,oBAA4B,EAC5B,OAAe,EACf,kBAA0B,EAC1B,cAAsB,EACtB,cAAsB,EACtB,sBAA8B,EAC9B,eAAuB,EACvB,gBAAwB,EACxB,oBAA4B,EAC5B,gBAAwB,EACxB,MAAc,EACd,QAAgB,EAChB,eAAuB,EACvB,qBAA6B,EAC7B,UAAkB,EAClB,SAAiB,EACjB,GAAW,EACX,IAAY,EACZ,MAAc,EACd,QAAgB,EAChB,6BAAqC,EACrC,IAAY,EACZ,KAAa,EACb,UAAkB,EAClB,uBAA+B,EAC/B,MAAc,EACd,OAAe,EACf,KAAa,EACb,MAAc,EACd,eAAuB,EACvB,EAAU,EACV,gBAAwB,EACxB,OAAe,EACf,OAAe,EACf,yBAAiC,EACjC,kBAA0B,EAC1B,0BAAkC,EAClC,QAAgB,EAChB,IAAY,EACZ,IAAY,EACZ,KAAa,EACb,GAAW,EACX,6BAAqC,EACrC,iBAAyB,EACzB,aAAqB,EACrB,MAAc,EACd,OAAe,EACf,0BAAkC,EAClC,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QAChB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;QACd,IAAI,CAAC,6BAA6B,GAAG,6BAA6B,CAAA;QAClE,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,0BAA0B,GAAG,0BAA0B,CAAA;QAC5D,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC1B,CAAC;CAEF"}
|
|
@@ -33,7 +33,8 @@ export declare class UsercentricsService {
|
|
|
33
33
|
cookieMaxAgeSeconds: number;
|
|
34
34
|
usesNonCookieAccess?: boolean;
|
|
35
35
|
deviceStorageDisclosureUrl: string;
|
|
36
|
+
technologyUsed: [string];
|
|
36
37
|
isDeactivated?: boolean;
|
|
37
38
|
disableLegalBasis?: boolean;
|
|
38
|
-
constructor(templateId: string, version: string, categorySlug: string, type: string, isEssential: boolean, dataProcessor: string, dataPurposes: [string], processingCompany: string, nameOfProcessingCompany: string, addressOfProcessingCompany: string, descriptionOfService: string, languagesAvailable: [string], dataCollectedList: [string], dataPurposesList: [string], dataRecipientsList: [string], legalBasisList: [string], retentionPeriodList: [string], subConsents: [string], language: string, linkToDpa: string, legalGround: string, optOutUrl: string, policyOfProcessorUrl: string, retentionPeriod: number, retentionPeriodDescription: string, dataProtectionOfficer: string, privacyPolicyURL: string, cookiePolicyURL: string, locationOfProcessing: string, dataCollectedDescription: string, thirdCountryTransfer: string, description: string, cookieMaxAgeSeconds: number, deviceStorageDisclosureUrl: string, isDeactivated?: boolean, disableLegalBasis?: boolean, usesNonCookieAccess?: boolean);
|
|
39
|
+
constructor(templateId: string, version: string, categorySlug: string, type: string, isEssential: boolean, dataProcessor: string, dataPurposes: [string], processingCompany: string, nameOfProcessingCompany: string, addressOfProcessingCompany: string, descriptionOfService: string, languagesAvailable: [string], dataCollectedList: [string], dataPurposesList: [string], dataRecipientsList: [string], legalBasisList: [string], retentionPeriodList: [string], subConsents: [string], language: string, linkToDpa: string, legalGround: string, optOutUrl: string, policyOfProcessorUrl: string, retentionPeriod: number, retentionPeriodDescription: string, dataProtectionOfficer: string, privacyPolicyURL: string, cookiePolicyURL: string, locationOfProcessing: string, dataCollectedDescription: string, thirdCountryTransfer: string, description: string, cookieMaxAgeSeconds: number, deviceStorageDisclosureUrl: string, technologyUsed: [string], isDeactivated?: boolean, disableLegalBasis?: boolean, usesNonCookieAccess?: boolean);
|
|
39
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export class UsercentricsService {
|
|
2
|
-
constructor(templateId, version, categorySlug, type, isEssential, dataProcessor, dataPurposes, processingCompany, nameOfProcessingCompany, addressOfProcessingCompany, descriptionOfService, languagesAvailable, dataCollectedList, dataPurposesList, dataRecipientsList, legalBasisList, retentionPeriodList, subConsents, language, linkToDpa, legalGround, optOutUrl, policyOfProcessorUrl, retentionPeriod, retentionPeriodDescription, dataProtectionOfficer, privacyPolicyURL, cookiePolicyURL, locationOfProcessing, dataCollectedDescription, thirdCountryTransfer, description, cookieMaxAgeSeconds, deviceStorageDisclosureUrl, isDeactivated, disableLegalBasis, usesNonCookieAccess) {
|
|
2
|
+
constructor(templateId, version, categorySlug, type, isEssential, dataProcessor, dataPurposes, processingCompany, nameOfProcessingCompany, addressOfProcessingCompany, descriptionOfService, languagesAvailable, dataCollectedList, dataPurposesList, dataRecipientsList, legalBasisList, retentionPeriodList, subConsents, language, linkToDpa, legalGround, optOutUrl, policyOfProcessorUrl, retentionPeriod, retentionPeriodDescription, dataProtectionOfficer, privacyPolicyURL, cookiePolicyURL, locationOfProcessing, dataCollectedDescription, thirdCountryTransfer, description, cookieMaxAgeSeconds, deviceStorageDisclosureUrl, technologyUsed, isDeactivated, disableLegalBasis, usesNonCookieAccess) {
|
|
3
3
|
this.templateId = templateId;
|
|
4
4
|
this.version = version;
|
|
5
5
|
this.categorySlug = categorySlug;
|
|
@@ -36,6 +36,7 @@ export class UsercentricsService {
|
|
|
36
36
|
this.isDeactivated = isDeactivated;
|
|
37
37
|
this.disableLegalBasis = disableLegalBasis;
|
|
38
38
|
this.isEssential = isEssential;
|
|
39
|
+
this.technologyUsed = technologyUsed;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
//# sourceMappingURL=UsercentricsService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsercentricsService.js","sourceRoot":"","sources":["../../src/models/UsercentricsService.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAmB;IA+
|
|
1
|
+
{"version":3,"file":"UsercentricsService.js","sourceRoot":"","sources":["../../src/models/UsercentricsService.tsx"],"names":[],"mappings":"AAAA,MAAM,OAAO,mBAAmB;IA+C5B,YACI,UAAkB,EAClB,OAAe,EACf,YAAoB,EACpB,IAAY,EACZ,WAAoB,EACpB,aAAqB,EACrB,YAAsB,EACtB,iBAAyB,EACzB,uBAA+B,EAC/B,0BAAkC,EAClC,oBAA4B,EAC5B,kBAA4B,EAC5B,iBAA2B,EAC3B,gBAA0B,EAC1B,kBAA4B,EAC5B,cAAwB,EACxB,mBAA6B,EAC7B,WAAqB,EACrB,QAAgB,EAChB,SAAiB,EACjB,WAAmB,EACnB,SAAiB,EACjB,oBAA4B,EAC5B,eAAuB,EACvB,0BAAkC,EAClC,qBAA6B,EAC7B,gBAAwB,EACxB,eAAuB,EACvB,oBAA4B,EAC5B,wBAAgC,EAChC,oBAA4B,EAC5B,WAAmB,EACnB,mBAA2B,EAC3B,0BAAkC,EAClC,cAAwB,EACxB,aAAuB,EACvB,iBAA2B,EAC3B,mBAA6B;QAE7B,IAAI,CAAC,UAAU,GAAG,UAAU,CA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xD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,0BAA0B,GAAG,0BAA0B,CAAA;QAC5D,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;IACxC,CAAC;CACJ"}
|
|
@@ -35,6 +35,8 @@ declare class SecondLayer {
|
|
|
35
35
|
tabsServicesLabel: string;
|
|
36
36
|
hideButtonDeny?: boolean;
|
|
37
37
|
hideLanguageSwitch?: boolean;
|
|
38
|
-
|
|
38
|
+
acceptButtonText?: string;
|
|
39
|
+
denyButtonText?: string;
|
|
40
|
+
constructor(tabsCategoriesLabel: string, tabsServicesLabel: string, hideButtonDeny?: boolean, hideLanguageSwitch?: boolean, acceptButtonText?: string, denyButtonText?: string);
|
|
39
41
|
}
|
|
40
42
|
export {};
|
|
@@ -30,11 +30,13 @@ class FirstLayer {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
class SecondLayer {
|
|
33
|
-
constructor(tabsCategoriesLabel, tabsServicesLabel, hideButtonDeny, hideLanguageSwitch) {
|
|
33
|
+
constructor(tabsCategoriesLabel, tabsServicesLabel, hideButtonDeny, hideLanguageSwitch, acceptButtonText, denyButtonText) {
|
|
34
34
|
this.tabsCategoriesLabel = tabsCategoriesLabel;
|
|
35
35
|
this.tabsServicesLabel = tabsServicesLabel;
|
|
36
36
|
this.hideButtonDeny = hideButtonDeny;
|
|
37
37
|
this.hideLanguageSwitch = hideLanguageSwitch;
|
|
38
|
+
this.acceptButtonText = acceptButtonText;
|
|
39
|
+
this.denyButtonText = denyButtonText;
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
//# sourceMappingURL=UsercentricsSettings.js.map
|
|
@@ -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;IAyB7B,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;QAEzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAA;QAC1D,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAA;QACtE,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAA;QACtE,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;QAC9B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAC5C,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAA;QACtE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAClC,CAAC;CAEJ;AAED,MAAM,UAAU;IAGZ,YACI,cAAwB;QAExB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;IACxC,CAAC;CACJ;AAED,MAAM,WAAW;IAQb,YACI,mBAA2B,EAC3B,iBAAyB,EACzB,cAAwB,EACxB,kBAA4B,EAC5B,gBAAyB,EACzB,cAAuB;QAEvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;QAC5C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;IACxC,CAAC;CAEJ"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usercentrics/react-native-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.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.
|
|
10
|
+
"iosPackageVersion": "2.8.1",
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"files": [
|
|
13
13
|
"android",
|