Docy

Download the Android SDK

Prerequisites

  1. Target API 21+ and use Gradle 6.1.1 or above.
  2. Use compileSdkVersion 31 or above.
  3. If you use Proguard, make sure to read this.

1. Add the repositories

Open your project level build.gradle and add the following repositories if your app is not enrolled in Designed for Families program.

				
					mavenCentral()
maven { url "https://artifact.bytedance.com/repository/pangle" }
maven { url "https://android-sdk.is.com" }
maven { url "https://sdk.tapjoy.com/" }
				
			

Add these repositories if your app in enrolled in Designed for Families program.

				
					mavenCentral()
maven { url "https://android-sdk.is.com" }
maven { url "https://sdk.tapjoy.com/" }
				
			

Add these repositories to use Lite SDK and reduce the size of your build.

				
					mavenCentral()
				
			

2. Import the SDK

Open your app level build.gradle and add the following dependency if your app is not enrolled in Designed for Families program.

				
					implementation 'com.yodo1.mas:full:4.7.7'

				
			

Add this dependency if your app is enrolled in Designed for Families program.

				
					implementation 'com.yodo1.mas:google:4.7.7'
				
			

Add this dependency to use Lite SDK.

				
					implementation 'com.yodo1.mas:lite:4.7.7'
				
			

3. Video tutorial

CONTENTS