* Add support for login link https://mobile.element.io/element?account_provider=example.org&login_hint=mxid:@alice:example.org * Update screenshots * Reduce code duplication * Add test on OnBoardingPresenter * Fix tool * Ignore login parameter if user is not allowed to connect to the provided server. * Improve tests. * Cleanup * Revert change on Project.xml. * Add documentation * Improve LoginHelper * Rename LoginFlow to LoginMode Move LoginFlow to package io.element.android.features.login.impl.login Rename some implementation of LoginMode Rename LoginFlowView to LoginModeView * Change launchMode of MainActivity from `singleTop` to `singleTask` Using launchMode singleTask to avoid multiple instances of the Activity when the app is already open. This is important for incoming share and for opening the application from a mobile.element.io link. Closes #4074 --------- Co-authored-by: ElementBot <android@element.io>
73 lines
2.5 KiB
Kotlin
73 lines
2.5 KiB
Kotlin
/*
|
|
* Copyright 2022-2024 New Vector Ltd.
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
* Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
@file:Suppress("UnstableApiUsage")
|
|
|
|
import extension.allFeaturesApi
|
|
import extension.setupAnvil
|
|
|
|
plugins {
|
|
id("io.element.android-compose-library")
|
|
id("kotlin-parcelize")
|
|
}
|
|
|
|
android {
|
|
namespace = "io.element.android.appnav"
|
|
}
|
|
|
|
setupAnvil()
|
|
|
|
dependencies {
|
|
allFeaturesApi(project)
|
|
|
|
implementation(projects.libraries.core)
|
|
implementation(projects.libraries.androidutils)
|
|
implementation(projects.libraries.architecture)
|
|
implementation(projects.libraries.deeplink)
|
|
implementation(projects.libraries.matrix.api)
|
|
implementation(projects.libraries.oidc.api)
|
|
implementation(projects.libraries.preferences.api)
|
|
implementation(projects.libraries.push.api)
|
|
implementation(projects.libraries.pushproviders.api)
|
|
implementation(projects.libraries.designsystem)
|
|
implementation(projects.libraries.matrixui)
|
|
implementation(projects.libraries.uiStrings)
|
|
|
|
implementation(libs.coil)
|
|
|
|
implementation(projects.features.ftue.api)
|
|
implementation(projects.features.share.api)
|
|
implementation(projects.features.viewfolder.api)
|
|
|
|
implementation(projects.services.apperror.impl)
|
|
implementation(projects.services.appnavstate.api)
|
|
implementation(projects.services.analytics.api)
|
|
|
|
testImplementation(libs.test.junit)
|
|
testImplementation(libs.test.robolectric)
|
|
testImplementation(libs.coroutines.test)
|
|
testImplementation(libs.molecule.runtime)
|
|
testImplementation(libs.test.truth)
|
|
testImplementation(libs.test.turbine)
|
|
testImplementation(projects.features.login.test)
|
|
testImplementation(projects.libraries.matrix.test)
|
|
testImplementation(projects.libraries.oidc.impl)
|
|
testImplementation(projects.libraries.preferences.test)
|
|
testImplementation(projects.libraries.push.test)
|
|
testImplementation(projects.libraries.pushproviders.test)
|
|
testImplementation(projects.features.networkmonitor.test)
|
|
testImplementation(projects.features.login.impl)
|
|
testImplementation(projects.tests.testutils)
|
|
testImplementation(projects.features.rageshake.test)
|
|
testImplementation(projects.features.rageshake.impl)
|
|
testImplementation(projects.features.share.test)
|
|
testImplementation(projects.services.appnavstate.test)
|
|
testImplementation(projects.services.analytics.test)
|
|
testImplementation(libs.test.appyx.junit)
|
|
testImplementation(libs.test.arch.core)
|
|
}
|