diff --git a/Appodeal.gdap b/Appodeal.gdap index a1f20a8..95f67ae 100644 --- a/Appodeal.gdap +++ b/Appodeal.gdap @@ -2,9 +2,9 @@ name="Appodeal" binary_type="local" -binary="appodeal/Appodeal-1.0.0-release.aar" +binary="appodeal/Appodeal-2.0.0-release.aar" [dependencies] -remote=["com.appodeal.ads:sdk:3.0.1.+"] +remote=["com.appodeal.ads:sdk:3.2.0.+"] custom_maven_repos=["https://artifactory.appodeal.com/appodeal/"] diff --git a/app/build.gradle b/app/build.gradle index 887cbbd..01ea4eb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,16 +3,16 @@ plugins { } ext.libraryName = "Appodeal" -ext.libraryVersionCode = 1 -ext.libraryVersionName = "1.0.0" +ext.libraryVersionCode = 2 +ext.libraryVersionName = "2.0.0" android { namespace 'com.dnhnd.godotappodeal' - compileSdk 32 + compileSdk 33 defaultConfig { minSdk 21 - targetSdk 32 + targetSdk 33 versionCode libraryVersionCode versionName libraryVersionName } @@ -38,6 +38,6 @@ android { dependencies { implementation 'androidx.appcompat:appcompat:1.5.1' - compileOnly 'com.appodeal.ads:sdk:3.0.1.+' + compileOnly 'com.appodeal.ads:sdk:3.2.0.+' compileOnly fileTree(dir:"libs", include:["godot-lib.3.5.3.stable.release.aar"]) } \ No newline at end of file diff --git a/app/src/main/java/com/dnhnd/godotappodeal/AppodealPlugin.java b/app/src/main/java/com/dnhnd/godotappodeal/AppodealPlugin.java index e24b203..4087fc3 100644 --- a/app/src/main/java/com/dnhnd/godotappodeal/AppodealPlugin.java +++ b/app/src/main/java/com/dnhnd/godotappodeal/AppodealPlugin.java @@ -248,7 +248,7 @@ public void trackInAppPurchase(float amount, String currency) { @UsedByGodot public String[] getNetworks(int adType) { - return Appodeal.getNetworks(godotActivity, getAndroidAdTypes(adType)).toArray(new String[0]); + return Appodeal.getNetworks(getAndroidAdTypes(adType)).toArray(new String[0]); } @UsedByGodot @@ -361,11 +361,6 @@ public void muteVideosIfCallsMuted(boolean isMuted) { Appodeal.muteVideosIfCallsMuted(isMuted); } - @UsedByGodot - public void disableWebViewCacheClear() { - Appodeal.disableWebViewCacheClear(); - } - @UsedByGodot public void startTestActivity() { Appodeal.startTestActivity(godotActivity);