Upgrade the Android SDK from 2.4.9 to 2.4.10

No special steps are required to upgrade to 2.4.10.

Upgrade the Android SDK from 2.4.8 to 2.4.9

  1. If you use targetSdkVersion 28+, please include Network Security Configuration file to your AndroidManifest.xml.

  2. Native Ads updates:

    • Add MediaAssetType for Native;
    • Add NativeIconView for output Icon;
    • NativeAd new methods: NativeAd.getIcon()NativeAd.getImage()NativeAd.getIconUrl()NativeAd.getMainImageUrl().
  3. Removed methods:

    • Appodeal.setAutoCacheNativeIcons().

    • Appodeal.setAutoCacheNativeMedia().

Upgrade the Android SDK from 2.1.11 to 2.4.8

  1. Update Google Play Services from 10.2.1 to 15.0.0.
  2. If you use Play Services version 17 and up, add <meta-data> tag to AndroidManifest file:

  3. Include NDK abi filter:

    ndk {
       abiFilters "armeabi-v7a", "x86"
  4. MREC is now marked as deprecated.

  5. If your app is targeting API level 28 (Android 9.0) or above, you must include the following declaration within the <application> element of AndroidManifest.xml:

    	android:required="false" />
  6. Add consent value to Appodeal.initialize (Add GDPR support).

  7. Change Native Integration:

    • NativeAd removed methods: registerViewForInteraction(), unregisterViewForInteraction(), setNativeMediaView();
    • NativeAd new methods: isPrecache(), getAdProvider(), destroy(), canShow();
    • NativeAdView new methods: registerView(), unregisterViewForInteraction().
  8. New methods were added:

    • Appodeal.setExtraData;

    • Appodeal.getPredictedEcpm;

    • Appodeal.getAvailableNativeAdsCount.

  9. Now you can track Ads expiration with new onExpired callbacks.