Initial upload: iptv-android-tv-hermes
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Fix V21 - Login server connection
|
||||
|
||||
Base: V20 login-focus-fix.
|
||||
|
||||
Problem:
|
||||
- During first Xtream login, the Retrofit base URL interceptor reads the server URL from SecureStorage.
|
||||
- But the server URL was only saved after successful login.
|
||||
- Result: first login could call the placeholder localhost and show "Cannot reach server", even when the server works.
|
||||
|
||||
Fix:
|
||||
- AuthRepository now normalizes and temporarily saves the Xtream config before calling player_api.php.
|
||||
- If login fails, previous config is restored, or only connection config is cleared while preserving local data.
|
||||
- XtreamBaseUrlInterceptor now also respects http/https scheme and normalizes host/port.
|
||||
- Server URL, username, password and M3U URL are trimmed before use.
|
||||
|
||||
Scope:
|
||||
- Network login path only.
|
||||
- No changes to LIVE, replay, player, global search, YouTube, recent LIVE, continue watching, or home scroll.
|
||||
|
||||
Version:
|
||||
- versionCode = 21
|
||||
- versionName = 2.0.21-login-server-fix
|
||||
Reference in New Issue
Block a user