SDK Implementation Guide
This guide provides a comprehensive step-by-step process for integrating the AdSter SDK into your Android application. Ensure you follow each section carefully for successful implementation
Configuration Steps
Setting Up Repository in Project
Open your Android Studio project and navigate to
settings.gradle
fileAdd the following Maven repository configuration inside the dependencyResolutionManagement block
Replace GITHUB_USERNAME and GITHUB_TOKEN with your GitHub username and personal access token (create a classic token with read only access from your personal GitHub profile OR reach out to us to get an Adster token)
Adding Dependency
Open the
build.gradle
(Module: app) file.Find the dependencies block and add the following SDK dependency.
Authentication
It's crucial not to hardcode GitHub credentials. Store credentials in
gradle.properties
or use environment variables.In
gradle.properties
, addIn
settings.gradle
, reference these properties:
This approach enhances security by keeping credentials out of source control.
Last updated
Was this helpful?