v2.31 — Login, Einstellungen & Cloud Sync Redesign

- Login-Screen im Melo-Design (Schwarz+Rot) mit Baka-Auth JWT
- AuthService fuer Token-Management ueber baka-net.de/auth
- Registrierungs-Modus + 'Ohne Login fortfahren'
- Navidrome-Credentials optional im Login aufklappbar

- SettingsScreen ersetzt AlertDialog
- BottomNav navigiert statt Dialog zu triggern
- Cloud Sync, Server verbinden, Diagnosedaten, App-Info, Abmelden

- CloudEinstellungen-Dialog entfernt, alles in CloudScreen konsolidiert
- Hardcode login('Baka','') entfernt → AuthService.benutzer
- Gradient-Statuskarte, animierte Segment-Intervall-Auswahl
- JWT Authorization statt Klartext-Passwort

- AppConfig: API-Key defaultValue entfernt (kein Fallback-Leak)
- Build crasht ohne --dart-define MELO_API_KEY

Build: split APK (arm64 19.6M, armeabi 17.1M, x86_64 21.1M)
This commit is contained in:
Dustin
2026-08-01 15:03:22 +02:00
parent 77a20422be
commit 36c744d6e3
77 changed files with 5211 additions and 1067 deletions
+2 -4
View File
@@ -6,10 +6,8 @@ class AppConfig {
static const logUrl = 'https://baka-net.de';
static const authUrl = 'https://baka-net.de/auth';
// Auth läuft über Bearer-Token aus dem Cloud-Login — KEIN hartcodierter Key mehr.
// (Alter Key melo-cloud-2026-secret-key wurde entfernt: steckte in jeder APK.)
static const ytProxyApiKey = String.fromEnvironment('MELO_API_KEY',
defaultValue: '');
// API-Key (MUSS via --dart-define MELO_API_KEY=xxx beim Build gesetzt werden)
static const ytProxyApiKey = String.fromEnvironment('MELO_API_KEY');
// Feature-Toggles
static bool sendeDiagnosedaten = true;