From 84a50effedd96797d3d2592e039928e4efe0855c Mon Sep 17 00:00:00 2001
From: Martin <13046765170@163.com>
Date: Sat, 10 Aug 2024 13:20:07 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/src/main/AndroidManifest.xml | 3 +++
common/build.gradle | 4 ++++
common/proguard-rules.pro | 4 ++++
3 files changed, 11 insertions(+)
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