Releases: phrase/phrase-android
Releases · phrase/phrase-android
1.0.1
1.0.0
Breaking changes
Renamed PhraseApp.init()
to PhraseApp.setup()
. PhraseApp.setup()
also does no longer automatically download translations. Instead PhraseApp.setup()
and PhraseApp.updateTranslations()
need to be used together.
PhraseApp.setup(this, "DISTRIBUTION_TOKEN", "ENVIRONMENT_TOKEN");
PhraseApp.updateTranslations();
Callbacks can now also only be passed to updateTranslations()
: PhraseApp.updateTranslations(new TranslationsSyncCallback() {..})