Before you begin
- Suggested Apps is supported on from 2.4.7 SDK version
- All ad units are supported on Android API 16 and above
- The integration is done by using Gradle preferences. Manual integration (AAR files) is supported, but we highly recommend using the automated Gradle option!
Latest version: 2.7.0.473 (released on March 22, 2023)
Step 1: Add AppNext SDK to Your Project
Before updating a new SDK version, it is recommended to clear the Gradle cache and recompile the project.
Add the following to your app’s build.gradle file inside repositories section:
allprojects {
repositories {
maven {
url "https://dl.appnext.com/"
}
}
}
Step 2: Google Play Services
Add the following to the dependencies section:
Mandatory dependencies :
dependencies {
implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0' // Mandatory
}
Step 3: Work Manager
Add the following to the dependencies section:
dependencies {
implementation 'androidx.annotation:annotation:1.1.0' // Mandatory
implementation "androidx.work:work-runtime:2.4.0" // Mandatory
}
Step 4: Glide Implementation
Add the following to the dependencies section:
Mandatory dependencies :
dependencies {
implementation 'com.github.bumptech.glide:glide:4.11.0' // Mandatory
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' // Mandatory
}
Step 5: Choose integration type
Gradle Integration (Recommended)
Manual Integration (Not Recommended)
Mopub Adapter Installation
Admob Adapter Installation
App Permissions and Services
App Permissions
The Appnext SDK uses the permissions granted to your app in order to improve campaign targeting, and in order to suggest the most relevant apps to your users.
We highly recommend that your app request the following permissions so we can better suggest apps to your users, and serve premium campaign types in your app:
android.permission.GET_TASKS
android.permission.PACKAGE_USAGE_STATS
android.permission.RECEIVE_BOOT_COMPLETED
Additional Requirements - Privacy Policy
At Appnext, we collect user data through our software development kit, APIs and similar technological solutions integrated in third-party mobile applications. This allows the tracking of mobile application use, installations and downloads, in addition to enabling the serving of advertising and personalized content, as described in our privacy policy.
Pursuant to Google Play policies, you must provide a privacy policy for your app, which will inform your users how your app collects, uses and shares user data, including the types of parties with whom the data is shared. Pursuant to Google Play policies, the privacy policy must be linked from within the app, and from the app's listing on Google Play.
We recommend that your privacy policy contain language materially similar to the following:
"We allow third-party companies to serve ads and collect certain anonymous information when you visit our app. These companies may use anonymous information such as your Google Advertising ID, your device type and version, browsing activity, location and other technical data relating to your device, in order to provide advertisements".
Updated 2 months ago
What's Next
Integrate an Ad unit or an adapter
Gradle Integration |
Manual Integration |
Mopub Adapter Installation |
Admob Adapter Installation |