Endurain: Initial prefs and online auth implementation

This commit is contained in:
Arjan Schrijver
2026-06-19 23:31:23 +02:00
parent 78ed1d2d1a
commit 256d2eb59a
6 changed files with 187 additions and 0 deletions
+7
View File
@@ -117,6 +117,10 @@ android {
vectorDrawables.useSupportLibrary = true
buildConfigField "String", "GIT_HASH_SHORT", "\"${getGitHashShort()}\""
buildConfigField "boolean", "INTERNET_ACCESS", "false"
manifestPlaceholders = [
appAuthRedirectScheme: "${applicationId}"
]
}
signingConfigs {
@@ -286,6 +290,9 @@ dependencies {
implementation libs.androidsvg
implementation libs.jsoup
// AppAuth is used for OAuth/PKCE/OIDC functionality, like required by the Endurain integration
implementation 'net.openid:appauth:0.11.1'
// Bouncy Castle is included directly in GB, to avoid pulling the entire dependency
// It's included in the org.bouncycastle.shaded package, to fix conflicts with roboelectric
//implementation 'org.bouncycastle:bcpkix-jdk18on:1.76'