⬇️Setting up the SDK
1. Add the OfferWall Unity plugin to your Unity project
Download and import the latest version of OfferWall Unity Plugin from GitHub.
2. Configuring Publishing Settings
Set the minimum API level to 24 or above and the target API level to 33 or above under Edit/ProjectSettings/Player/Other Settings
Make sure you check the below-mentioned checkboxes under Edit/ProjectSettings/Player/Publishing Settings.
Custom Main Manifest
Custom Main Gradle Template
Custom Gradle Settings Template

3. Configuring dependencies
Adding mavenCentral()
as a repository in settingsTemplate.gradle
pluginManagement {
repositories {
**ARTIFACTORYREPOSITORY**
gradlePluginPortal()
google()
}
}
include ':launcher', ':unityLibrary'
**INCLUDES**
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
**ARTIFACTORYREPOSITORY**
google()
mavenCentral() //<----------------Add this line
flatDir {
dirs "${project(':unityLibrary').projectDir}/libs"
}
}
}
Add the below line inside the dependencies block in your mainTemplate.gradle file
implementation 'com.pubscale.sdkone:offerwall:1.0.7'
4. Force resolve dependencies
Force resolve forces the Package Manager to resolve the project’s packages, reinstalling any altered or missing package and removing extraneous packages.
To Force resolve the dependencies, Goto Assets > External Dependency Manager > Android Resolver > Force Resolve (if the resolver did not open automatically)

Last updated