This client runs on the following platforms:
- Android
- iOS
- Web app
- MacOS app
To create the apk to run on an Andriod phone, you need to run the following command:
flutter build apk -debug
-
Install dart
-
Activate protoc plugin
pub global activate protoc_plugin
-
Add pub-cache to PATH
PATH="$PATH":"$HOME/.pub-cache/bin"
-
Generate dart code from protos
protoc ./defs/recipes-service.proto --dart_out=grpc:client/home_recipes_app/lib/generated
-
Add dependencies to pubspec.yaml
grpc: ^2.1.3 protobuf: ^1.0.1 uuid: ^2.0.4
-
Implement client logic