mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 18:08:54 +00:00
* perf: skip Android Keystore listing on cold start Open the app DB first and decrypt credentials only for known server URLs so logged-in launches no longer enumerate every generic-password service. Co-authored-by: Cursor <cursoragent@cursor.com> * perf: load server credentials in one parallel pass Drop the extra preauth Set and second keystore probe so cold start decrypts each known URL once, and read active servers from the existing query. Co-authored-by: Cursor <cursoragent@cursor.com> * fix: retry failed startup and cache credentials only after Keychain writes Reset base initialization so a rejected launch can retry, and keep the in-memory credential cache aligned with successful secure-storage writes. Co-authored-by: Cursor <cursoragent@cursor.com> * test: drop mock-harness init tests and unused session cache The initialize() retry test only asserted mock wiring. Remove leftover hasCachedCredentials/session_cache APIs from closed stack floors, and keep credential tests that lock listing-skip and cache behavior. Co-authored-by: Cursor <cursoragent@cursor.com> * chore: drop leftover launch profiler instrumentation Cold-start timing marks were debug logInfo breadcrumbs, not part of the Keystore skip. Co-authored-by: Cursor <cursoragent@cursor.com> * test: assert empty known-URL fallback still returns credentials Listing-called alone would miss a path that enumerates Keystore then drops the results. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| ephemeral_mode.test.ts | ||
| index.ts | ||
| test_manual.ts | ||
| test.ts | ||