https://github.com/phrase/flutter_sdk_example
Flutter demo application for Phrase OTA
https://github.com/phrase/flutter_sdk_example
flutter over-the-air phrase translations
Last synced: 6 months ago
JSON representation
Flutter demo application for Phrase OTA
- Host: GitHub
- URL: https://github.com/phrase/flutter_sdk_example
- Owner: phrase
- Created: 2021-05-12T05:36:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T12:38:56.000Z (about 1 year ago)
- Last Synced: 2025-06-14T07:44:48.377Z (6 months ago)
- Topics: flutter, over-the-air, phrase, translations
- Language: C++
- Homepage:
- Size: 325 KB
- Stars: 0
- Watchers: 15
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phrase SDK for Flutter example
Flutter demo application to see Phrase OTA in action
## Installation steps
- Clone this project
- Run `flutter pub get` to get the dependencies
- Run `flutter pub run phrase` to 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`:
```dart
void main() {
Phrase.setup("[DISTRIBUTION_ID]", "[ENVIRONMENT_ID]");
runApp(MyApp());
}
```
- Run the project on your device
```bash
flutter run
```
To see the list of devices run:
```bash
flutter devices
```