Flutter demo application to see Phrase OTA in action
- Clone this project
- Run
flutter pub getto get the dependencies - Run
dart run phraseto perform necessary code generation - Create new translation project on https://phrase.com/
- Upload ARB files for translation
- Create the OTA distribution
- Copy its ID and secret into
main.dart:
void main() {
Phrase.setup("[DISTRIBUTION_ID]", "[ENVIRONMENT_ID]");
runApp(MyApp());
}- Run the project on your device
flutter runTo see the list of devices run:
flutter devices