Closed aphexcx closed 6 years ago
@aphexcx just to confirm this is for MDN and not context capture, right?
If you are using Instant Run could you please disable it and try again?
Instant run is disabled; I'm trying to test the ota string serving. I changed a string on the smartling platform, set the mode to ota-serving
as you can see above, and built. I expected the app to load with the new strings, but the onStringsLoaded method is never even getting called.
For the changes to show up quickly, the file has to be fully published. As far as why your onStringsLoaded
function isn't called, I'm going to research.
@aphexcx Hey, sorry for the delay.
I tried the sample project with Kotlin used as it's in your example and it's working fine.
Do you see other logs with SmartlingSDK
tag in you LogCat?
Like this D/SmartlingSdk: Pull OTA for es using locale es
or
D/SmartlingSdk: Downloading production strings from: https://mdn-cdn.smartling.com/...
or some others?
What locale is set on the device you're running?
Here's my launch activity:
That log line is never shown, and a breakpoint set on it never hits. Did I forget to configure something? Here's my
smartling
block from my gradle file:As you can see, I made sure that the mode is set to
ota-serving
on all variants. I'm building thefastDevDebug
variant.