Iterable / swift-sdk

Iterable's iOS SDK. Receive and track pushes to Iterable from your iOS app.
https://iterable.com/
MIT License
86 stars 71 forks source link

[MOB-4593] - Check for offlineMode flag instead of beta flag. Update unit tests. #566

Closed tapashmajumder closed 2 years ago

tapashmajumder commented 2 years ago

🔹 Jira Ticket(s)

✏️ Description

Use actual feature flag instead of beta feature flag.

codecov[bot] commented 2 years ago

Codecov Report

Merging #566 (fd52749) into master (2b35417) will decrease coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #566      +/-   ##
==========================================
- Coverage   86.36%   86.33%   -0.03%     
==========================================
  Files          91       90       -1     
  Lines        6210     6197      -13     
==========================================
- Hits         5363     5350      -13     
  Misses        847      847              
Impacted Files Coverage Δ
swift-sdk/Constants.swift 100.00% <ø> (ø)
swift-sdk/Internal/IterableUserDefaults.swift 91.75% <ø> (-0.33%) :arrow_down:
swift-sdk/Internal/LocalStorage.swift 100.00% <ø> (ø)
swift-sdk/Internal/LocalStorageProtocol.swift 0.00% <ø> (-66.67%) :arrow_down:
swift-sdk/IterableAPI.swift 1.98% <ø> (ø)
swift-sdk/Internal/InternalIterableAPI.swift 93.93% <100.00%> (-0.02%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3285dbd...fd52749. Read the comment docs.