-
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
Copies/translations not fetched inside the completion block of CrowdinSDK.startWithConfig on a fresh install #187
Comments
Hi @stevi-clue |
Thanks for the fast reply Dima! :) I was playing a bit around with breakpoints in the SDK and my hunch is that it might be due to Maybe passing the completion handler from |
@serhii-londar could you please assist with this? |
Hi @stevi-clue, you need to add a download handler:
|
@stevi-clue Does it help? |
My team had a similar question as well. In my opinion, the I think the more communicative approach would have been to have a single callback that tells us what state the SDK is in. From my comments here, here, and here, the emerging theme in my opinion is that edge cases surrounding the initialization of the SDK are not well defined and automated tests have room to grow. |
Hi there!
I successfully integrated the CrowdinSDK in my app using Swift Package Manager and I am using OTA content delivery. On the first app launch with internet enabled, when I enter the completion block of
CrowdinSDK.startWithConfig
, and fetch the copy for a specific key usingNSLocalizedString(key, comment: "")
, I am only getting the key and not the copy. If I kill and relaunch the app, the copy for the same key is fetched successfully.Do you know what might be causing this and do you have any suggestion on its mitigation?
Many thanks!
The text was updated successfully, but these errors were encountered: