Initial upload: iptv-android-tv-hermes

This commit is contained in:
Abderrahim-Mouhcine
2026-08-16 19:57:53 +01:00
commit 534d462553
222 changed files with 22516 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Fix V23 - Login success navigation
Base: V22 auth-response-fix.
Problem:
- Login could succeed and save the configuration, but the app stayed on LoginScreen.
- In MainActivity, `hasSession` was computed once as a normal local value, not a Compose state.
- After a successful login, the parent navigation was not notified and did not recompose to MainMenu.
Fix:
- `AppNavigation` now keeps `hasSession` as mutable Compose state.
- `LoginScreen` now accepts `onLoginSuccess`.
- `LoginScreen` triggers `onLoginSuccess()` when `uiState` becomes `UiState.Success`.
- On success, navigation goes to `NavState.MainMenu`.
Scope:
- Only MainActivity.kt, LoginScreen.kt and version number changed.
- All V22 login server/auth parsing fixes remain.
- Login input dialog/focus fixes remain.
- No changes to LIVE, replay, player, global search, YouTube, recent LIVE, continue watching, or home scroll.
Version:
- versionCode = 23
- versionName = 2.0.23-login-success-nav