|
@@ -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
|
|
|
- }
|
|
|
- }
|
|
|
}
|