Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit b86d863
Merge: 9d9a3df 2187b1d
Author: Dmitrii Feshchenko <43773640+DmitriiFeshchenko@users.noreply.github.com>
Date:   Wed Jan 24 15:06:44 2024 +0100

    Merge pull request #45 from appodeal/release/3.2.1

    [SDK-5435] Release Appodeal Unity Plugin v3.2.1

commit 2187b1d
Author: Dmitrii Feshchenko <feshchenko.dn@gmail.com>
Date:   Tue Jan 23 18:08:03 2024 +0100

    Update CHANGELOG.md

commit 8c89abb
Author: Dmitrii Feshchenko <feshchenko.dn@gmail.com>
Date:   Tue Jan 23 18:07:06 2024 +0100

    Bump plugin version

commit c3dc1ee
Author: Dmitrii Feshchenko <feshchenko.dn@gmail.com>
Date:   Tue Jan 23 18:06:34 2024 +0100

    Update AppodealDemo.cs

commit 9279b32
Author: Dmitrii Feshchenko <43773640+DmitriiFeshchenko@users.noreply.github.com>
Date:   Tue Jan 23 18:06:00 2024 +0100

    Update Android & iOS SDK dependencies (#44)
  • Loading branch information
DmitriiFeshchenko committed Jan 24, 2024
1 parent 334813a commit 4e4ce62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

*The full changelog can always be obtained at [Appodeal website](https://docs.appodeal.com/unity/changelog).*

### 3.2.1 (January 24, 2024)

+ Updated Appodeal Android SDK to v3.2.1
+ Updated Appodeal iOS SDK to v3.2.1
+ Added default Appodeal Settings values

### 3.3.0-alpha.1 (January 11, 2024)

+ Updated Appodeal Android SDK to v3.3.0-alpha.1
Expand Down
7 changes: 1 addition & 6 deletions Samples~/UsageSample/AppodealDemo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public void ShowNextPanel()

public void Initialize()
{
InitWithConsent(!testingToggle.isOn);
InitWithConsent(testingToggle.isOn);
}

private void InitWithConsent(bool isConsent)
Expand Down Expand Up @@ -190,11 +190,6 @@ private void InitWithConsent(bool isConsent)
Appodeal.UpdateCcpaConsent(CcpaUserConsent.OptIn);
Appodeal.UpdateGdprConsent(GdprUserConsent.Personalized);
}
else
{
Appodeal.UpdateCcpaConsent(CcpaUserConsent.OptOut);
Appodeal.UpdateGdprConsent(GdprUserConsent.NonPersonalized);
}

int adTypes = (mrecInitializationToggle.isOn ? AppodealAdType.Mrec : 0) |
(bannerInitializationToggle.isOn ? AppodealAdType.Banner : 0) |
Expand Down

0 comments on commit 4e4ce62

Please sign in to comment.