SDK
v1.1
v1.1
  • Getting Started
    • Welcome
    • Start Here
    • Postback Payout (S2S)
    • Advanced options
      • Sending Media Source Data
      • Sending User Segments / User Info
  • Unity
    • Installation
    • Initialization
    • Obtaining Advertising ID's
    • Payout via SDK
  • Android
    • Prerequisite
    • Installation
    • Initialization
    • Obtaining Adverstising ID's
  • Flutter
    • Prerequisite
    • Installation
    • Initialization
    • Obtaining Advertising ID's
  • REACT NATIVE
    • Prerequisites
    • Installation
    • Initialization
    • Obtaining Advertising ID's
  • Web / Iframe
    • Initialization
Powered by GitBook
On this page
  1. Android

Installation

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

dependencyResolutionManagement {
        repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
        repositories {
            mavenCentral()
            maven { url 'https://jitpack.io' }
        }
    } 

dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	} 

Step 2. Add the dependency

    dependencies {
        implementation ("com.github.tyrads-com:tyrads-sdk-android:LATEST_VERSION") // replace LATEST_VERSION with  1.1.0 or the latest stable version	}
dependencies {
        implementation 'com.github.tyrads-com:tyrads-sdk-android:LATEST_VERSION'  // replace LATEST_VERSION with  1.1.0 or the latest stable version
	}1.1.0 or the latest stable version	}
PreviousPrerequisiteNextInitialization

Last updated 9 months ago