Horváth Gergely 6c67d22fb8 Add active account handling & token recovery
Introduce active account selection and robust token recovery across watch and phone code. Adds a new Dart helper (active_account_helper.dart) to resolve the active account/token and updates KretaClient, token refresh/grant flows, live activity, watch sync, main init and home UI to use pickActiveToken. On the watch side, implement refreshAllWithRecovery in DataStore and replace direct refreshAll calls with refreshAllWithRecovery everywhere (ContentView, BackgroundRefreshManager, WatchConnectivityManager, HomeView). Rewrite the token recovery logic to retry (with delays), prefer fresher iCloud/file/keychain tokens, attempt iPhone retrieval, and better distinguish transient network errors from permanent token invalidation. Also update TokenManager to choose the freshest local token between keychain and file, and add small sync/NULL-safety fixes and delay tweaks in home_screen to improve iCloud recovery behavior. These changes aim to avoid unnecessary reauth prompts, handle intermittent network issues, and support multi-account setups by always using the active token.
2026-02-27 23:23:56 +01:00
2025-09-15 12:21:40 +02:00
2025-02-10 22:22:45 +01:00
2025-10-12 15:50:53 +02:00
2025-02-10 22:22:45 +01:00
2025-09-08 20:50:41 +02:00
2025-10-26 09:14:10 +01:00
2025-08-24 16:57:08 +02:00
2025-02-10 22:22:45 +01:00
2025-02-10 22:22:45 +01:00

Firka

HU Magyar EN English

Crowdin

The project

Firka is an alternative client for [an application to be named]. The app's goal is to be a modern user friendly app for the [to be named] system.

Contribution guide

Description
No description provided
Readme 59 MiB
Languages
Dart 61.4%
Swift 35.1%
Kotlin 3.1%
Shell 0.3%