Skip to content

Commit 4b3d905

Browse files
committed
[DIA-2585] Correct update of consentString status
1 parent 2148687 commit 4b3d905

File tree

2 files changed

+2
-165
lines changed

2 files changed

+2
-165
lines changed

Assets/ExampleApp/Scripts/PrivacySettings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public void OnCustomConsentButtonClick()
101101
private void SuccessDelegate(GdprConsent customConsent)
102102
{
103103
Debug.Log($"I am your success callback!"); // TODO print customConsent
104+
storedConsentString = customConsent.euconsent;
105+
updateUI();
104106
}
105107

106108
public void OnCCPAPrivacyManagerButtonClick()
@@ -128,7 +130,6 @@ public void OnClearCustomConsentDataPress()
128130
onSuccessDelegate: SuccessDelegate
129131
);
130132
storedConsentString = null;
131-
updateUI();
132133
}
133134

134135
public void OnLoadMessagePress()

test_BurstDebugInformation_DoNotShip/tempburstlibs/armeabi-v7a/lib_burst_generated.txt

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)