mobile-sdk-ios icon indicating copy to clipboard operation
mobile-sdk-ios copied to clipboard

feat: Reduce amount of requests to download localization.

Open serhii-londar opened this issue 1 year ago • 2 comments

Add saving downloaded files timestamps. Download files only when saved file timestamp is not equal to manifest timestamp. Add minimum update interval for downloading manifest.

serhii-londar avatar Sep 01 '24 14:09 serhii-londar

Warnings
:warning: Big PR, try to keep changes smaller if you can

Generated by :no_entry_sign: Danger Swift against 50b90061eb6a7361291d7a0cc5340e718e2debad

crowdin-bot avatar Sep 01 '24 14:09 crowdin-bot

Codecov Report

Attention: Patch coverage is 71.42857% with 26 lines in your changes missing coverage. Please review.

Project coverage is 61.98%. Comparing base (db1af96) to head (50b9006). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
...ders/Crowdin/ManifestManager/ManifestManager.swift 73.34% 8 Missing :warning:
...tionDownloader/CrowdinLocalizationDownloader.swift 70.84% 7 Missing :warning:
...Crowdin/ManifestManager/FileTimestampStorage.swift 83.34% 4 Missing :warning:
...ers/Crowdin/CrowdinRemoteLocalizationStorage.swift 33.34% 2 Missing :warning:
...rs/Crowdin/Extensions/CrowdinSDK+ReactNative.swift 0.00% 2 Missing :warning:
...wdin/MappingDownloader/CrowdinMappingManager.swift 0.00% 2 Missing :warning:
...oviders/Crowdin/Config/CrowdinProviderConfig.swift 75.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #286      +/-   ##
==========================================
+ Coverage   61.85%   61.98%   +0.13%     
==========================================
  Files         121      122       +1     
  Lines        4325     4395      +70     
==========================================
+ Hits         2675     2724      +49     
- Misses       1650     1671      +21     

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

codecov[bot] avatar Sep 01 '24 14:09 codecov[bot]