Skip to content

Commit e6646d3

Browse files
committed
Fix unwrapping applies for Android
1 parent 94fc87e commit e6646d3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public static SpGdprConsent UnwrapSpGdprConsentAndroid(SpGdprConsentWrapperAndro
114114

115115
GdprConsent unwrapped = new GdprConsent
116116
{
117+
applies = wrappedGdpr.applies,
117118
uuid = wrappedGdpr.uuid,
118119
euconsent = wrappedGdpr.euconsent,
119120
TCData = wrappedGdpr.tcData,

Assets/ConsentManagementProvider/Scripts/json/wrappers/android/SpGdprConsentWrapperAndroid.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ namespace ConsentManagementProviderLib.Json
55
{
66
internal class SpGdprConsentWrapperAndroid
77
{
8+
[JsonProperty("apply")]
9+
public bool applies;
810
public string uuid;
911
public string euconsent;
1012
public Dictionary<string, object> tcData;

0 commit comments

Comments
 (0)