adjust 配置初步+1
This commit is contained in:
parent
53d1acedc9
commit
1912a9f669
|
|
@ -40,6 +40,7 @@ dependencies {
|
||||||
androidTestImplementation(libs.androidx.test.ext.junit)
|
androidTestImplementation(libs.androidx.test.ext.junit)
|
||||||
androidTestImplementation(libs.espresso.core)
|
androidTestImplementation(libs.espresso.core)
|
||||||
|
|
||||||
|
implementation(project(":core:architecture"))
|
||||||
api("com.adjust.sdk:adjust-android:5.5.0")
|
api("com.adjust.sdk:adjust-android:5.5.0")
|
||||||
api("com.android.installreferrer:installreferrer:2.2")
|
api("com.android.installreferrer:installreferrer:2.2")
|
||||||
// Add the following if you are using the Adjust SDK inside web views on your app
|
// Add the following if you are using the Adjust SDK inside web views on your app
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,7 @@ import com.adjust.sdk.Adjust
|
||||||
import com.adjust.sdk.AdjustConfig
|
import com.adjust.sdk.AdjustConfig
|
||||||
import com.adjust.sdk.LogLevel
|
import com.adjust.sdk.LogLevel
|
||||||
import com.adjust.sdk.huawei.BuildConfig
|
import com.adjust.sdk.huawei.BuildConfig
|
||||||
|
import com.ama.core.architecture.BaseApp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class AdjustManager private constructor() {
|
class AdjustManager private constructor() {
|
||||||
|
|
@ -21,7 +20,7 @@ class AdjustManager private constructor() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private lateinit var mAppContext: Context
|
private val mAppContext = BaseApp.appContext()
|
||||||
|
|
||||||
|
|
||||||
fun initSdk(appToken: String) {
|
fun initSdk(appToken: String) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue