Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
⬆️ Upgraded Appodeal to version 2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vegidio committed Jun 26, 2021
1 parent 6f22271 commit f22e20c
Show file tree
Hide file tree
Showing 7 changed files with 294 additions and 282 deletions.
13 changes: 9 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.vinicius.appodeal_flutter'
version '0.6.0'
version '1.0.0'

buildscript {
ext.kotlin_version = '1.4.10'
Expand All @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down Expand Up @@ -45,7 +45,12 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.appodeal.ads:sdk:2.9.1.+'
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.1'

implementation 'com.appodeal.ads:sdk:2.10.1.+'
implementation 'com.appodeal.ads.sdk.networks:chartboost:2.10.1.6'
implementation 'com.appodeal.ads.sdk.networks:inmobi:2.10.1.7'
implementation 'com.appodeal.ads.sdk.networks:mopub:2.10.1.4'
implementation 'com.appodeal.ads.sdk.networks:tapjoy:2.10.1.7'
implementation 'com.explorestack:consent:1.0.4'
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,7 @@ class AppodealFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
}

override fun onFailedToUpdateConsentInfo(exception: ConsentManagerException?) {
result.error(
"CONSENT_INFO_ERROR", "Failed to fetch the consent info",
exception?.reason
)
result.error("CONSENT_INFO_ERROR", exception!!.reason, null)
}
}
)
Expand All @@ -201,10 +198,7 @@ class AppodealFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
}

override fun onConsentFormError(exception: ConsentManagerException?) {
result.error(
"CONSENT_WINDOW_ERROR",
"Error showing the consent window", exception?.reason
)
result.error("CONSENT_WINDOW_ERROR", exception!!.reason, null)
}

override fun onConsentFormOpened() {}
Expand Down
Loading

0 comments on commit f22e20c

Please sign in to comment.