bitwarden / ios

Bitwarden mobile app for iOS.
https://bitwarden.com
GNU General Public License v3.0
140 stars 12 forks source link

[PM-11420] Fix app taking long time to open on poor connectivity. #878

Closed fedemkr closed 2 weeks ago

fedemkr commented 2 weeks ago

๐ŸŽŸ๏ธ Tracking

PM-11420

๐Ÿ“” Objective

Fix issue where the app was taking a lot of time to open appearing to be frozen on the splash screen when having poor connectivity. This was done by moving to background getting the config from server when is not being forced to refresh. So now the AppProcessor and any other place (where the caller doesn't force refresh) are getting the local config immediately and getting the server config on a background task so it's available for the next time is requested.

โฐ Reminders before review

๐Ÿฆฎ Reviewer guidelines

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.71%. Comparing base (f41548e) to head (57b66de). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #878 +/- ## ======================================= Coverage 88.70% 88.71% ======================================= Files 617 617 Lines 30804 30812 +8 ======================================= + Hits 27326 27335 +9 + Misses 3478 3477 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 weeks ago

Logo Checkmarx One โ€“ Scan Summary & Details โ€“ 5551605a-277e-4b06-b0c1-be7c66b4275e

No New Or Fixed Issues Found