diff --git a/plugins/2023.3686/android/corona.gradle b/plugins/2023.3686/android/corona.gradle index b6286a6..0ed8d49 100644 --- a/plugins/2023.3686/android/corona.gradle +++ b/plugins/2023.3686/android/corona.gradle @@ -1,9 +1,6 @@ dependencies { - implementation 'com.google.android.gms:play-services-ads:21.5.0' - implementation 'com.google.android.ump:user-messaging-platform:2.0.0' - implementation 'androidx.fragment:fragment:1.3.0' - implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava' // Googles ducktape solution - //^https://stackoverflow.com/questions/56639529/duplicate-class-com-google-common-util-concurrent-listenablefuture-found-in-modu + implementation 'com.google.android.gms:play-services-ads:22.5.0' + implementation 'com.google.android.ump:user-messaging-platform:2.1.0' } android.defaultConfig { diff --git a/plugins/2023.3686/android/plugin.admob.jar b/plugins/2023.3686/android/plugin.admob.jar index 14ee97a..53ea8cc 100644 Binary files a/plugins/2023.3686/android/plugin.admob.jar and b/plugins/2023.3686/android/plugin.admob.jar differ diff --git a/src/android/plugin/build.gradle b/src/android/plugin/build.gradle index 10eeb9e..3efcfaa 100644 --- a/src/android/plugin/build.gradle +++ b/src/android/plugin/build.gradle @@ -16,8 +16,8 @@ afterEvaluate { dependencies { implementation ':Corona@aar' - implementation 'com.google.android.gms:play-services-ads:21.5.0' - implementation 'com.google.android.ump:user-messaging-platform:2.0.0' + implementation 'com.google.android.gms:play-services-ads:22.5.0' + implementation 'com.google.android.ump:user-messaging-platform:2.1.0' } task exportAARToThePluginBinary { diff --git a/src/android/plugin/src/main/java/plugin/admob/LuaLoader.java b/src/android/plugin/src/main/java/plugin/admob/LuaLoader.java index 51056ab..884ac3a 100644 --- a/src/android/plugin/src/main/java/plugin/admob/LuaLoader.java +++ b/src/android/plugin/src/main/java/plugin/admob/LuaLoader.java @@ -91,8 +91,8 @@ @SuppressWarnings({"unused", "RedundantSuppression"}) public class LuaLoader implements JavaFunction, CoronaRuntimeListener { private static final String PLUGIN_NAME = "plugin.admob"; - private static final String PLUGIN_VERSION = "1.6.0"; - private static final String PLUGIN_SDK_VERSION = "0";//getVersionString(); + private static final String PLUGIN_VERSION = "1.6.1"; + private static final String PLUGIN_SDK_VERSION = MobileAds.getVersion().toString(); private static final String EVENT_NAME = "adsRequest"; private static final String PROVIDER_NAME = "admob";