Installation (Android SDK - Kotlin)
- Andrey Veprikov
Owned by Andrey Veprikov
Download
Add to dependencies
:
implementation 'com.personaclick:personaclick-sdk:+'
Configure
Append to your project build.gradle
:
buildscript { dependencies { ... classpath 'com.google.gms:google-services:4.3.10' } }
Append to your app module build.gradle
after line id 'com.android.application'
:
plugins { id 'com.google.gms.google-services' id 'org.jetbrains.kotlin.android' }
Create your app in the Firebase console and copy file google-services.json
to your app root path. Then sync gradle
.
Library versions used in the SDK:
- Java 22
- Kotlin 2.0.0
- Gradle 8.8
- Android Gradle Plugin 8.5.1
If your application uses Dagger for dependency injection, don't delete Dagger dependencies.
If you use Dagger, its dependencies and the kapt plugin must remain in your gradle files.
The structure for such a project should look similar to the example below:
plugins { id 'kotlin-kapt' } dependencies { implementation 'com.personaclick:personaclick-sdk:+' implementation 'com.google.dagger:dagger:DAGGER_VERSION' kapt 'com.google.dagger:dagger-compiler:DAGGER_COMPILER_VERSION' }
Page Navigation
Related Pages
-
Page:
-
Page:
-
Page:
-
Page:
Copyright 2018-2024 PersonaClick