Skip to content

Commit 57d46ca

Browse files
authored
Merge pull request #45 from SourcePointUSA/prepare-2.2.2
Prepare 2.2.2
2 parents b5bf286 + beefadd commit 57d46ca

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 2.2.2
2+
* [DIA-3628](https://sourcepoint.atlassian.net/browse/DIA-3628), [DIA-3629](https://sourcepoint.atlassian.net/browse/DIA-3629) Implemented GCM company for IOS and Android [#41](https://github.com/SourcePointUSA/unity-sdk/pull/41), [#43](https://github.com/SourcePointUSA/unity-sdk/pull/43)
3+
* [DIA-3350](https://sourcepoint.atlassian.net/browse/DIA-3350) Unity SDK brought to v7.7.1 Android & v.7.6.3 iOS [#44](https://github.com/SourcePointUSA/unity-sdk/pull/44), [#42](https://github.com/SourcePointUSA/unity-sdk/pull/42)
4+
* [DIA-2585](https://sourcepoint.atlassian.net/browse/DIA-2585) Implemented cutomConsentTo (for iOS and Android) / deleteCustomConsent (for Android) features [#42](https://github.com/SourcePointUSA/unity-sdk/pull/42)
5+
* Miscellaneous fixes
6+
17
# 2.2.1
28
* [DIA-3594](https://sourcepoint.atlassian.net/browse/DIA-3594) Unity SDK brought to v7.7.0 Android & v.7.6.0 iOS [#36](https://github.com/SourcePointUSA/unity-sdk/pull/36), [#37](https://github.com/SourcePointUSA/unity-sdk/pull/37)
39

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ This getter is used to retrieve `SpConsents` data. After calling, it checks the
249249
| |-- euconsent: String
250250
| |-- acceptedCategories: List<String>
251251
| |-- consentStatus: ConsentStatus
252-
| |-- googleConsentMode: SPGCMData
252+
| |-- googleConsentMode: SPGCMData?
253253
| |-- adStorage: SPGCMData.Status?
254254
| |-- analyticsStorage: SPGCMData.Status?
255255
| |-- adUserData: SPGCMData.Status?
@@ -314,6 +314,16 @@ void CustomConsentGDPR(
314314

315315
The vendor grants will be re-generated, this time taking into consideration the list of vendors, categories and legitimate interest categories you pass as parameters. The method is asynchronous so you must pass a completion handler that will receive back an instance of `GdprConsent` in case of success or it'll call the delegate method `onError` in case of failure.
316316

317+
Using the same strategy for the custom consent, it's possible to programmatically delete the current user consent to a list of vendors, categories and legitimate interest categories by using the following method from the consent lib:
318+
319+
```c#
320+
void DeleteCustomConsentGDPR(
321+
string[] vendors,
322+
string[] categories,
323+
string[] legIntCategories,
324+
Action<GdprConsent> onSuccessDelegate)
325+
```
326+
317327
It's important to notice, this methods are intended to be used for **custom** vendors and purposes only. For IAB vendors and purposes, it's still required to get consent via the consent message or privacy manager.
318328

319329
# Build for iOS

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.sourcepoint.unitycmp",
33
"displayName": "Sourcepoint Consent Message Plugin",
4-
"version": "2.2.1",
4+
"version": "2.2.2",
55
"unity": "2021.3",
66
"description": "Native UI Privacy Manager for both GDPR and CCPA legislations.",
77
"author": {
Binary file not shown.

0 commit comments

Comments
 (0)