swift-sdk icon indicating copy to clipboard operation
swift-sdk copied to clipboard

[MOB-4781] userdefaults migration

Open roninopf opened this issue 3 years ago • 1 comments

🔹 Jira Ticket(s)

✏️ Description

  • creates a new migration function in LocalStorage for lastPushPayload
  • cleans up/fixes the logic of the auth data migration a little bit for unexpected edge cases

roninopf avatar Sep 01 '22 21:09 roninopf

Codecov Report

Merging #575 (0678d8e) into jay/MOB-4786-separate-mocks (158f8c6) will decrease coverage by 0.03%. The diff coverage is 60.00%.

@@                       Coverage Diff                       @@
##           jay/MOB-4786-separate-mocks     #575      +/-   ##
===============================================================
- Coverage                        85.38%   85.35%   -0.04%     
===============================================================
  Files                               91       91              
  Lines                             6282     6288       +6     
===============================================================
+ Hits                              5364     5367       +3     
- Misses                             918      921       +3     
Impacted Files Coverage Δ
swift-sdk/Internal/LocalStorage.swift 83.58% <52.94%> (-3.72%) :arrow_down:
swift-sdk/Internal/IterableUserDefaults.swift 67.59% <100.00%> (+0.61%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Sep 01 '22 21:09 codecov[bot]