mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Improve the callback uri format and customization. (#4664)
* Remove unused SUPPORT_EMAIL_ADDRESS * Improve the callback uri format and customization. Use io.element.android for the scheme of Oidc redirection for Element X. For nightly the scheme will be io.element.android.nightly For debug the scheme will be io.element.android.debug Element Pro is using `io.element`
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2025 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.
|
||||
*/
|
||||
|
||||
package io.element.android.libraries.matrix.test.auth
|
||||
|
||||
import io.element.android.libraries.matrix.api.auth.OidcRedirectUrlProvider
|
||||
|
||||
const val FAKE_REDIRECT_URL = "io.element.android:/"
|
||||
|
||||
class FakeOidcRedirectUrlProvider(
|
||||
private val provideResult: String = FAKE_REDIRECT_URL,
|
||||
) : OidcRedirectUrlProvider {
|
||||
override fun provide() = provideResult
|
||||
}
|
||||
+1
-1
@@ -39,5 +39,5 @@ fun aBuildMeta(
|
||||
gitRevision = gitRevision,
|
||||
gitBranchName = gitBranchName,
|
||||
flavorDescription = flavorDescription,
|
||||
flavorShortDescription = flavorShortDescription
|
||||
flavorShortDescription = flavorShortDescription,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user