Skip to content

Advanced Setup

Aleksandr Chatsky edited this page Feb 13, 2019 · 6 revisions

1) Optional Partners

In order to optimize build sizes, we decided to make some partners optional, it is best to include them if you have significant traffic from countries below;

MyTarget for Russia

  • Just download the zip that includes partner library from here and add it to your project as a dependency.

Baidu for China

  • Just download the zip that includes partner library from here and add it to your project as a dependency.

  • Update your AndroidManifest:

      <provider
          android:name="com.duapps.ad.stats.DuAdCacheProvider"
          android:authorities="${applicationId}.DuAdCacheProvider"
          android:exported="false"
          android:enabled="@bool/isLessThenApi28" />
      <meta-data
          android:name="app_license"
          android:value="YOUR_BAIDU_LICENSE" />
      <receiver android:name="com.duapps.ad.base.PackageAddReceiver" >
          <intent-filter>
              <action android:name="android.intent.action.PACKAGE_ADDED" />
              <data android:scheme="package" />
          </intent-filter>
      </receiver>
    
  • Replace YOUR_BAIDU_LICENSE with Baidu license key that you can receive from your Appmediation manager or write to support@appmediation.com

Clone this wiki locally