Releases: phrase/phrase-android
Releases · phrase/phrase-android
3.9.0-rc4
3.9.0-rc2
Fixes
- Fix for wrong locale change detection.
3.9.0-rc1
3.8.0
Apply pending translation updates
Newly fetched translations will be shown on the next start of the app. In cases when the latest translations should be available immediately Phrase.applyPendingUpdates()
makes the latest translations available right away. Translations cannot get automatically displayed in the UI, which has to be recreated.
This can be combined with listening for translation updates:
Phrase.updateTranslations(new TranslationsSyncCallback() {
@Override
public void onSuccess(boolean translationsChanged) {
if(translationsChanged) {
Phrase.applyPendingUpdates()
// Custom logic to refresh UI
}
}
@Override
public void onFailure() {
}
});
Fixes
- Update
org.apache.commons:commons-text
to 1.11.0. Fix #70
3.7.4
3.7.3
3.7.2
- Improve cache loading performance when calling
Phrase.setup
- Add configurable cache loading timeout with
Phrase.setCacheLoadingTimeout(timeoutValue)
. The method expects milliseconds as a the input. As s a recommendation the value should not be bigger than 5000. This method should only be needed in rare circumstances.