crowdin/mobile-sdk-ios

Copies/translations not fetched inside the completion block of CrowdinSDK.startWithConfig on a fresh install

Open

#187 opened on Apr 26, 2022

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Swift (56 forks)github user discovery
bugdocumentationhelp wanted

Repository metrics

Stars
 (131 stars)
PR merge metrics
 (PR metrics pending)

Description

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 using NSLocalizedString(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!

Contributor guide