Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

regenerate.md 820B

1234567891011121314
  1. // Copyright 2017, Paul DeMarco.\
  2. // All rights reserved. Use of this source code is governed by a\
  3. // BSD-style license that can be found in the LICENSE file.
  4. # Generate protobuf files in Dart
  5. 1. If upgrading, delete all proto files from /home/.pub-cache/bin
  6. 1. Clone the latest dart-protoc-plugin from https://github.com/dart-lang/dart-protoc-plugin
  7. 1. Run `pub install` inside dart-protoc-plugin
  8. 1. Run `pub global activate protoc_plugin` to get .dart files into /home/.pub-cache/bin/
  9. 1. Get the latest linux protoc compiler from https://github.com/google/protobuf/releases/ (protoc-X.X.X-linux-x86_64.zip)
  10. 1. Copy /bin/protoc into /home/.pub-cache/bin/
  11. 1. Run the following commands from the protos folder
  12. ```protoc --dart_out=../lib/gen ./flutterblue.proto```
  13. ```protoc --objc_out=../ios/gen ./flutterblue.proto```