Skip to content

Commit 8aeb391

Browse files
authored
Merge pull request #44 from appodeal/release/3.1.3-beta.3
Release/3.1.3-beta.3
2 parents 186607c + ab78530 commit 8aeb391

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.1.3-beta.3
2+
3+
* Fixed issue with repeating consent window.
4+
* Updated Appodeal Android SDK to 3.1.3.2-beta.2
5+
16
## 3.1.3-beta.2
27

38
* Updated Appodeal iOS SDK to 3.1.3-beta.2

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Add the dependency to the `pubspec.yaml` file in your project:
4343

4444
```yaml
4545
dependencies:
46-
stack_appodeal_flutter: 3.1.3-beta.2
46+
stack_appodeal_flutter: 3.1.3-beta.3
4747
```
4848
4949
Install the plugin by running the command below in the terminal:
@@ -1091,7 +1091,7 @@ Add dependencies into `build.gradle` (module: app)
10911091
dependencies {
10921092
...
10931093
// ... other project dependencies
1094-
implementation ('com.appodeal.ads:sdk:3.1.3.1-beta.2') {
1094+
implementation ('com.appodeal.ads:sdk:3.1.3.2-beta.2') {
10951095
exclude group: 'com.appodeal.ads.sdk.services', module: 'adjust'
10961096
exclude group: 'com.appodeal.ads.sdk.services', module: 'appsflyer'
10971097
exclude group: 'com.appodeal.ads.sdk.services', module: 'firebase'

android/src/main/kotlin/com/appodeal/appodeal_flutter/AppodealFlutterPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ internal class AppodealFlutterPlugin : AppodealBaseFlutterPlugin() {
2828

2929
@Deprecated("Will be removed in future releases.")
3030
private var _consentForm: ConsentForm? = null
31+
3132
@Deprecated("Will be removed in future releases.")
3233
private val consentForm get() = checkNotNull(_consentForm)
3334

@@ -172,7 +173,6 @@ internal class AppodealFlutterPlugin : AppodealBaseFlutterPlugin() {
172173
Appodeal.setBannerRotation(90, -90) // for iOS platform behavior sync
173174
Appodeal.setSharedAdsInstanceAcrossActivities(true)
174175
Appodeal.setFramework("flutter", sdkVersion)
175-
Appodeal.updateConsent(ConsentManager.consent)
176176
Appodeal.initialize(activity, appKey, adTypes, object : ApdInitializationCallback {
177177
override fun onInitializationFinished(errors: List<ApdInitializationError>?) =
178178
channel.invokeMethod("onInitializationFinished", errors?.toArg())

example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ flutter {
6363

6464
dependencies {
6565
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
66-
implementation 'com.appodeal.ads:sdk:3.1.3.1-beta.2'
66+
implementation 'com.appodeal.ads:sdk:3.1.3.2-beta.2'
6767
}

ios/Classes/SwiftAppodealFlutterPlugin.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ public class SwiftAppodealFlutterPlugin: NSObject, FlutterPlugin {
138138
Appodeal.setSmartBannersEnabled(isSmartBannerEnabled)
139139
Appodeal.setPreferredBannerAdSize(isTabletBannerEnabled ? kAppodealUnitSize_728x90 : kAPDAdSize320x50)
140140
Appodeal.setFramework(APDFramework.flutter, version: sdkVersion)
141-
if let consent = STKConsentManager.shared().consent {
142-
Appodeal.updateConsentReport(consent)
143-
}
144141
Appodeal.setInitializationDelegate(self)
145142
Appodeal.initialize(withApiKey: appKey, types: adTypes)
146143
Appodeal.setAdRevenueDelegate(adRevenueCallback.adListener)

ios/stack_appodeal_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'stack_appodeal_flutter'
7-
s.version = '3.1.3-beta.2'
7+
s.version = '3.1.3-beta.3'
88
s.summary = 'Appodeal flutter plugin'
99
s.description = <<-DESC
1010
Flutter plugin for Appodeal SDK. It supports interstitial, rewarded video and banner ads.

lib/src/appodeal.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class Appodeal {
357357

358358
/// Get SDK version.
359359
static String getSDKVersion() {
360-
return "3.1.3-beta.2";
360+
return "3.1.3-beta.3";
361361
}
362362

363363
/// Get SDK platform version.

pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: stack_appodeal_flutter
22
description: Official Flutter plugin to support Appodeal SDK for Android and iOS platforms. Support Consent Dialog for GDPR/CCPA zone.
3-
version: 3.1.3-beta.2
4-
homepage: https://www.appodeal.com
3+
version: 3.1.3-beta.3
4+
homepage: https://github.com/appodeal
5+
repository: https://github.com/appodeal/Appodeal-Flutter-Plugin
56

67
environment:
78
sdk: ">=2.12.0 <4.0.0"

0 commit comments

Comments
 (0)