Add connect flow: login, API app provisioning and secure storage
CI / test (push) Successful in 2m17s

DefaultAuthRepository logs in for a bearer token, finds or creates the
"Scrobbled Android" API app (reused on reconnect), then obtains a Last.fm
session key via auth.getMobileSession. Credentials are encrypted with an
Android Keystore AES-GCM key. Adds ScrobblerApi (/api/v1), a Connect
screen + ViewModel, and gates the main shell on stored credentials.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-12 11:10:32 +01:00
1 parent 5200ebdb2d
commit 36399be147
13 files changed
+613 -1

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.lifecycle.runtime.compose)
implementation(libs.androidx.lifecycle.viewmodel.compose)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.ui)
implementation(libs.androidx.compose.ui.tooling.preview)