diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c0776bf39..69e4477e9 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -94,6 +94,9 @@ + + + diff --git a/common/build.gradle b/common/build.gradle index 5ec1ccacf..4859da363 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -271,4 +271,8 @@ dependencies { // Add the following if you're using the Adjust SDK inside web views on your app api 'com.adjust.sdk:adjust-android-webbridge:4.38.5' api 'com.google.android.gms:play-services-appset:16.0.2' + + //appsflyer SDK + api 'com.appsflyer:af-android-sdk:6.12.1' + implementation "com.android.installreferrer:installreferrer:2.2" } diff --git a/common/proguard-rules.pro b/common/proguard-rules.pro index c58339bea..da0ec636b 100644 --- a/common/proguard-rules.pro +++ b/common/proguard-rules.pro @@ -42,4 +42,8 @@ java.lang.String getId(); boolean isLimitAdTrackingEnabled(); } +-keep public class com.android.installreferrer.** { *; } +#appsflyer +-keep class com.appsflyer.** { *; } +-keep class kotlin.jvm.internal.** { *; } -keep public class com.android.installreferrer.** { *; } \ No newline at end of file