[MatrixSDK] remove Rust AuthenticationService from the dependency graph

This commit is contained in:
ganfra 2023-03-14 12:04:53 +01:00
parent 497fd635f8
commit 2dc44250fb
5 changed files with 2 additions and 42 deletions

View file

@ -57,6 +57,5 @@ dependencies {
implementation(projects.features.roomlist.impl)
implementation(projects.features.login.impl)
implementation(libs.coroutines.core)
implementation(libs.matrix.sdk)
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2")
}

View file

@ -33,7 +33,6 @@ import io.element.android.libraries.matrix.api.auth.MatrixAuthenticationService
import io.element.android.libraries.matrix.impl.auth.RustMatrixAuthenticationService
import io.element.android.libraries.sessionstorage.impl.memory.InMemorySessionStore
import kotlinx.coroutines.runBlocking
import org.matrix.rustcomponents.sdk.AuthenticationService
import java.io.File
class MainActivity : ComponentActivity() {
@ -46,7 +45,6 @@ class MainActivity : ComponentActivity() {
coroutineScope = Singleton.appScope,
coroutineDispatchers = Singleton.coroutineDispatchers,
sessionStore = InMemorySessionStore(),
authService = AuthenticationService(baseDirectory.absolutePath, null, null),
)
}