Skip to content

njiuko/phrase_flutter_sdk_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
void main() {
  Phrase.setup("[DISTRIBUTION_ID]", "[ENVIRONMENT_ID]");
  runApp(MyApp());
}
  • Run the project on your device
flutter run

To see the list of devices run:

flutter devices

About

Flutter demo application for Phrase OTA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 43.2%
  • CMake 38.7%
  • Dart 6.1%
  • Ruby 5.5%
  • Swift 3.2%
  • C 2.9%
  • Other 0.4%