Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Download
Add to dependencies
:
Code Block | ||||
---|---|---|---|---|
| ||||
implementation 'com.personaclick:personaclick-sdk:+'
implementation 'com.google.firebase:firebase-bom:32.7.0'
implementation 'com.google.firebase:firebase-messaging:23.4.1'
implementation 'com.google.dagger:dagger:2.51.1'
kapt 'com.google.dagger:dagger-compiler:2.48' |
Configure
Append to your project build.gradle
:
Code Block | ||||
---|---|---|---|---|
| ||||
buildscript { dependencies { ... classpath 'com.google.gms:google-services:4.43.110' } } |
Append to your app module build.gradle
after line id 'com.android.application'
:
Code Block | ||||
---|---|---|---|---|
| ||||
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:
Code Block | ||||
---|---|---|---|---|
| ||||
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'
} |
Column | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Navigation
Related Pages
|