Skip to main content

Android

Integration Requirements Android SDK version 16 and above

This SDK is hosted on Maven, and we recommend using gradle to install this SDK. Add the following code to the project.gradle file:

repositories {
...
google()
jcenter()
maven { url "https://maven.meitu.city/" }
}

dependencies {
...
classpath 'com.google.gms:google-services:4.2.0'
}

allprojects {
repositories {
google()
jcenter()
maven { url "https://maven.meitu.city/" }
}
}

Add the following code to the app.gradle file:


apply plugin: 'com.google.gms.google-services'

implementation 'com.github.pixocial:purchases:1.xxx'

Next Steps

Configuring The SDK