Browse Source

feat: delete ali

tongmengxiao 7 months ago
parent
commit
9c23de1e05
3 changed files with 1 additions and 27 deletions
  1. 1 7
      app/proguard-rules.pro
  2. 0 16
      app/src/main/java/com/swago/app/SwagoApp.kt
  3. 0 4
      baseswago/build.gradle

+ 1 - 7
app/proguard-rules.pro

@@ -247,10 +247,4 @@
 -keepclassmembers class com.facebook.applinks.** { *; }
 -keep class com.facebook.FacebookSdk { *; }
 -keep class com.huawei.hms.ads.** { *; }
--keep class com.facebook.login.** { *; }
-
--keep class com.uc.crashsdk.** { *; }
--keep interface com.uc.crashsdk.** { *; }
--keep class com.aliyun.sls.android.producer.* { *; }
--keep interface com.aliyun.sls.android.producer.* { *; }
--keep class com.aliyun.sls.android.** { *; }
+-keep class com.facebook.login.** { *; }

+ 0 - 16
app/src/main/java/com/swago/app/SwagoApp.kt

@@ -6,8 +6,6 @@ import android.net.http.HttpResponseCache
 import androidx.fragment.app.FragmentActivity
 import androidx.multidex.MultiDex
 import com.alibaba.android.arouter.launcher.ARouter
-import com.aliyun.sls.android.core.SLSAndroid
-import com.aliyun.sls.android.core.configuration.Credentials
 import com.facebook.FacebookSdk
 import com.google.firebase.analytics.ktx.analytics
 import com.google.firebase.crashlytics.ktx.crashlytics
@@ -113,18 +111,4 @@ class SwagoApp : Application() {
             }
         }
     }
-
-    private fun crashReporter(){
-        val credentials = Credentials()
-        credentials.instanceId = ""
-        credentials.endpoint = ""
-        credentials.project = ""
-        credentials.accessKeyId = ""
-        credentials.accessKeySecret = ""
-        SLSAndroid.initialize(this , credentials) {
-            it.enableCrashReporter = true
-            it.enableBlockDetection = true
-            it.enableTracerLog
-        }
-    }
 }

+ 0 - 4
baseswago/build.gradle

@@ -136,8 +136,4 @@ dependencies {
     //lottie
     api 'com.airbnb.android:lottie:4.0.0'
 
-    //阿里
-    api 'com.aliyun.openservices:aliyun-log-android-sdk:latest.release'
-    api 'com.aliyun.openservices:sls-android-core:latest.release'
-
 }