funkwhale-app-android/app/src/main/java/audio/funkwhale/ffa/utils
Hugh Daschbach 6f24535b79 Auto logout on unrecoverable authentication error.
When an unrecoverable authentication error occurs, automatically log
the user out.  This seems better than leaving the user wondering why
the UI is unresponsive or why each track they try to play fails with a
quickly disappearing toast.

Unrecoverable authentication errors typically mean the server has
timed out the session out or the session token has been deleted on the
server.  Tokens expire after 14 days without use.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale-android/-/merge_requests/342>
2024-02-22 18:15:04 +00:00
..
AppContext.kt Fix landscape view induced MainActivity leak. 2023-11-07 08:33:36 +00:00
Bottleneck.kt Custom cache layer for cover art which ignores (pre-signed URL) query 2023-01-10 10:00:41 +00:00
BottomSheetIneractable.kt Improve player bottom sheet, in particular fling support 2023-09-18 17:35:26 +02:00
Bus.kt Fix bottom sheet being hidden in certain conditions 2023-09-18 20:18:52 +02:00
CoverArt.kt Refactor CoverArt.withContext(). 2023-11-07 08:33:36 +00:00
Extensions.kt Auto logout on unrecoverable authentication error. 2024-02-22 18:15:04 +00:00
FFACache.kt Upgrade to Kotlin 1.7.0 2022-08-26 12:06:41 +00:00
FuelResult.kt Fix existing linting problems 2021-09-09 09:56:15 +02:00
OAuth.kt Auto logout on unrecoverable authentication error. 2024-02-22 18:15:04 +00:00
RefreshError.kt Upgrading Android Gradle Plugin 2021-08-22 09:48:36 +02:00
Userinfo.kt Upgrading Android Gradle Plugin 2021-08-22 09:48:36 +02:00
Util.kt Minor adjustments to get rid of deprecation warnings 2021-08-27 13:28:23 +02:00
ViewBindings.kt Improve player bottom sheet, in particular fling support 2023-09-18 17:35:26 +02:00