[MatrixSDK] remove Rust AuthenticationService from the dependency graph
This commit is contained in:
parent
497fd635f8
commit
2dc44250fb
5 changed files with 2 additions and 42 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue