Skip to content

Commit

Permalink
Android Admob Update
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Dec 3, 2023
1 parent 2bd20fe commit eed11a2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions plugins/2023.3686/android/corona.gradle
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
Binary file modified plugins/2023.3686/android/plugin.admob.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/android/plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/android/plugin/src/main/java/plugin/admob/LuaLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit eed11a2

Please sign in to comment.