Android
Install the Apphud Android SDK via Maven Central or JitPack. Requires minSdk 26; supports the latest Google Play Billing.
Latest Apphud SDK supports Google Play Billing 9.x
Limitations
Apphud has a full support of Android with the following limitations:
- Only Google Play Store is currently supported (App Gallery, Amazon and other stores are not supported)
Requirements
- To validate purchases Apphud requires Google Play Service Account Credentials.
- Minimum supported Android API level: 26 (Android 8.0).
- Apphud SDK 3.5.0+ requires your app's
compileSdkto be 35 or higher — Google Play Billing Library 9 depends onandroidx.core 1.15.0, which enforces this minimum at build time.
Installation
Add the following lines to your build.gradle file:
repositories {
google()
mavenCentral() // if using Maven Central
}
allprojects {
repositories {
...
mavenCentral() // if using Maven Central
maven { url 'https://jitpack.io' } // if using Jitpack
}
}
dependencies {
// if using Maven Central
implementation 'com.apphud:ApphudSDK-Android:{LATEST_VERSION_NUMBER}'
// if using Jitpack
implementation 'com.github.apphud:ApphudSDK-Android:{LATEST_VERSION_NUMBER}'
}
Replace LATEST_VERSION_NUMBER with the latest version from our Github Tags page.
App Release ChecklistTo minimize the risk of mistakes during setup and avoid the need for app resubmission, please read the App Release Checklist carefully.
Updated 6 days ago
Did this page help you?
