From 6e19bde605fb3991112766473d9b4b3f0c08adf8 Mon Sep 17 00:00:00 2001 From: tcecyk Date: Thu, 3 Nov 2022 16:17:01 +0100 Subject: [PATCH] adjust the host field in the msauth url to fit the manifest activity intent-filter without this the browser can't hand back the Oauth2 tokens to Mail and throw a android.content.ActivityNotFoundException: No Activity found to handle Intent --- app/k9mail/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/k9mail/build.gradle.kts b/app/k9mail/build.gradle.kts index 194da69d2b..935465275e 100644 --- a/app/k9mail/build.gradle.kts +++ b/app/k9mail/build.gradle.kts @@ -116,7 +116,7 @@ android { buildConfigField( "String", "OAUTH_MICROSOFT_REDIRECT_URI", - "\"msauth://com.fsck.k9/Dx8yUsuhyU3dYYba1aA16Wxu5eM%3D\"", + "\"msauth://foundation.e.mail/Dx8yUsuhyU3dYYba1aA16Wxu5eM%3D\"", ) manifestPlaceholders["appAuthRedirectScheme"] = "foundation.e.mail" @@ -148,7 +148,7 @@ android { buildConfigField( "String", "OAUTH_MICROSOFT_REDIRECT_URI", - "\"msauth://com.fsck.k9.debug/VZF2DYuLYAu4TurFd6usQB2JPts%3D\"", + "\"msauth://foundation.e.mail.debug/VZF2DYuLYAu4TurFd6usQB2JPts%3D\"", ) manifestPlaceholders["appAuthRedirectScheme"] = "foundation.e.mail.debug" -- GitLab