Skip to content

Commit

Permalink
Merge pull request #981 from Aptoide/task/ASV-1595_update-mopub-adapters
Browse files Browse the repository at this point in the history
[Task/ASV-1595] Update MoPub adapters/sdk's
  • Loading branch information
phillipsgoncalves authored Apr 23, 2019
2 parents c36bb6e + b722d45 commit 484adb1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ android {
"\"" + project.APP_VIEW_WALLET_PROMOTION_ID + "\""
variant.buildConfigField "String", "COBRAND_APPLICATION_ID_SUFFIX",
"\"" + project.COBRAND_APPLICATION_ID_SUFFIX + "\""

variant.buildConfigField "String", "APPLOVIN_SDK_VERSION",
"\"" + APPLOVIN_SDK_VERSION + "\""
variant.buildConfigField "String", "APPLOVIN_ADAPTER_VERSION",
"\"" + MOPUB_MEDIATION_APPLOVIN_VERSION + "\""
if (flavors[0].name.contains("cobrand")) {
variant.buildConfigField "String", "APTOIDE_THEME", "\"" + project.COBRAND_THEME + "\""
variant.resValue "string", "facebook_app_id", "\"" + project.FACEBOOK_APP_ID_COBRAND + "\""
Expand Down
10 changes: 6 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
tools:overrideLibrary="com.paypal.android.sdk.onetouch.core, com.paypal.android.sdk.payments,
com.adyen.core, com.adyen.ui, com.braintreepayments.cardform, com.asf.appcoins.sdk.contractproxy,
com.asf.appcoins.sdk.core, com.mopub.mobileads, com.mopub.mobileads.banner,
com.mopub.mobileads.rewarded_video, com.mopub.mobileads.interstitial, com.mopub.mobileads.native_video,
com.mopub.mobileads.native_static, com.mopub.mobileads.base, com.flurry.android.ads.sdk,
com.flurry.android.analytics.sdk, com.appnext.ads.mediation.mopub, com.appnext.appnextsdkmopubbanners,
com.appnext.appnextsdk.API.mediation.MoPub"/>
com.mopub.mobileads.rewarded_video, com.mopub.mobileads.interstitial,
com.mopub.mobileads.native_video, com.mopub.mobileads.native_static,
com.mopub.mobileads.base, com.flurry.android.ads.sdk, com.flurry.android.analytics.sdk,
com.appnext.ads.mediation.mopub, com.appnext.appnextsdkmopubbanners,
com.appnext.appnextsdk.API.mediation.MoPub, com.applovin.sdk, com.mopub.mobileads.applovin,
com.mopub.mobileads.ironsource, com.mopub.mobileads.vungle, com.mopub.mobileads.flurry"/>

<application
android:allowBackup="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import cm.aptoide.pt.BuildConfig;
import com.applovin.sdk.AppLovinSdk;
import com.mopub.common.BaseAdapterConfiguration;
import com.mopub.common.OnNetworkInitializationFinishedListener;
Expand All @@ -12,7 +13,7 @@
public class AppLovinBaseAdapterConfiguration extends BaseAdapterConfiguration {

@NonNull @Override public String getAdapterVersion() {
return "8.1.4.3";
return BuildConfig.APPLOVIN_ADAPTER_VERSION;
}

@Nullable @Override public String getBiddingToken(@NonNull Context context) {
Expand All @@ -24,7 +25,7 @@ public class AppLovinBaseAdapterConfiguration extends BaseAdapterConfiguration {
}

@NonNull @Override public String getNetworkSdkVersion() {
return "8.1.4";
return BuildConfig.APPLOVIN_SDK_VERSION;
}

@Override public void initializeNetwork(@NonNull Context context,
Expand Down
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ ext {
SUPER_USER_LIB_VERSION = '1.0.0.+'

// Flurry Android SDK
FLURRY_VERSION = '11.5.0'
FLURRY_VERSION = '11.6.0'

CRASHLYTICS_VERSION = '2.6.5'

Expand All @@ -122,16 +122,16 @@ ext {
APPLOVIN_SDK_VERSION = '8.1.4'
MOPUB_MEDIATION_APPLOVIN_VERSION = '8.1.4.3'
MOPUB_MEDIATION_ADMOB_VERSION = '17.0.0.2'
FLURRY_ADS_VERSION = '11.5.0'
MOPUB_MEDIATION_FLURRY_VERSION = '11.5.0.0'
IRONSOURCE_MEDIATION_SDK_VERSION = '6.7.12'
MOPUB_MEDIATION_IRONSOURCE_VERSION = '6.7.12.0'
FLURRY_ADS_VERSION = '11.6.0'
MOPUB_MEDIATION_FLURRY_VERSION = '11.6.0.0'
IRONSOURCE_MEDIATION_SDK_VERSION = '6.8.3'
MOPUB_MEDIATION_IRONSOURCE_VERSION = '6.8.3.0'
VUNGLE_SDK_VERSION = '6.3.24'
MOPUB_MEDIATION_VUNGLE_VERSION = '6.3.24.0'
MOPUB_MEDIATION_VUNGLE_VERSION = '6.3.24.2'
UNITY_ADS_SDK_VERSION = '3.0.1'
MOPUB_MEDIATION_UNITYADS_VERSION = '3.0.1.0'
APPNEXT_SDK_VERSION = '2.4.4.472'
INMOBI_SDK_VERSION = '7.2.6'
INMOBI_SDK_VERSION = '7.2.7'

PICASSO_VERSION = '2.5.2'

Expand Down

0 comments on commit 484adb1

Please sign in to comment.