crowdin / mobile-sdk-android

Crowdin Android SDK delivers all new translations from Crowdin project to the application immediately
https://crowdin.github.io/mobile-sdk-android
MIT License
104 stars 38 forks source link

Crowdin Over The Air - third party dependency #253

Closed mlefrapper closed 1 month ago

mlefrapper commented 3 months ago

Hello, I have implemented Crowdin Over The Air following the instructions in the documentation. It works correctly for screens from my application. When I integrate a screen from a third-party dependency and I want to update the translation through Crowdin Over The Air, it doesn't work. I can't apply the changes to the BaseActivity because it's not my application's code.

I've tried to do this via a registerActivityLifecycleCallbacks() but it doesn't work.

How should I handle this?

andrii-bodnar commented 3 months ago

Hi @mlefrapper, I guess it's something the SDK doesn't have access to. The 3rd party dependency should support i18n itself.