diff --git a/extension-ironsource/ext.properties b/extension-ironsource/ext.properties index 7642b62..1ff47e4 100644 --- a/extension-ironsource/ext.properties +++ b/extension-ironsource/ext.properties @@ -1,6 +1,6 @@ [iron_source] -version.default = 1.0.0 +version.default = 1.1.0 adcolony_android.type = string admob_android.private = 1 diff --git a/extension-ironsource/manifests/android/build.gradle b/extension-ironsource/manifests/android/build.gradle index e408219..25429f4 100644 --- a/extension-ironsource/manifests/android/build.gradle +++ b/extension-ironsource/manifests/android/build.gradle @@ -35,6 +35,7 @@ repositories { } dependencies { implementation 'com.ironsource.sdk:mediationsdk:7.7.0' + implementation 'com.ironsource:adqualitysdk:7.20.0' // Remove for AMAZON: // --- NOT AMAZON START --- diff --git a/extension-ironsource/src/java/com/defold/ironsource/IronSourceJNI.java b/extension-ironsource/src/java/com/defold/ironsource/IronSourceJNI.java index 0925e4e..7d20f85 100644 --- a/extension-ironsource/src/java/com/defold/ironsource/IronSourceJNI.java +++ b/extension-ironsource/src/java/com/defold/ironsource/IronSourceJNI.java @@ -18,6 +18,7 @@ import org.json.JSONObject; import org.json.JSONException; +import com.ironsource.adqualitysdk.sdk.IronSourceAdQuality; import com.ironsource.mediationsdk.IronSource; import com.ironsource.mediationsdk.integration.IntegrationHelper; import com.ironsource.mediationsdk.sdk.LevelPlayRewardedVideoListener; @@ -66,6 +67,7 @@ public IronSourceJNI(Activity activity, String version, String extVersion) { } public void init(String appKey) { + IronSourceAdQuality.getInstance().initialize(activity, appKey); IronSource.setLevelPlayRewardedVideoListener(new DefoldLevelPlayRewardedVideoListener()); IronSource.setLevelPlayInterstitialListener(new DefoldLevelPlayInterstitialListener()); //TODO: add AD Units android.app.Activity, java.lang.String, com.ironsource.mediationsdk.sdk.InitializationListener, com.ironsource.mediationsdk.IronSource$AD_UNIT...