-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue with sync manifest downloading #174
Conversation
Codecov Report
@@ Coverage Diff @@
## master #174 +/- ##
==========================================
+ Coverage 55.94% 56.64% +0.71%
==========================================
Files 118 119 +1
Lines 4019 4151 +132
==========================================
+ Hits 2248 2351 +103
- Misses 1771 1800 +29
Continue to review full report at Codecov.
|
Generated by 🚫 Danger Swift against 3335a6a |
Wow, this was a lot of work @serhii-londar! I quickly tried this out and still a little unclear when the completion handler gets called? I recall not seeing a completion handler called if, say, the manifest request failed? The resilience of the SDK is important to us. We're needing to access properties like What is the expectation of the completion handler? Is that the signal for us clients that the SDK has successfully initialized? |
HI @chrispomeroyhale, thanks for your feedback! About inSDKLocalizations, now we've added caching for the manifest file so that when you have something cached you are able to get it immediately after starting SDK. After completion called it means that you can access inSDKLocalizations and they are up to date. Same for localizations. |
Closes #169