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

// Copyright 2017, Paul DeMarco.\ // All rights reserved. Use of this source code is governed by a\ // BSD-style license that can be found in the LICENSE file.

Generate protobuf files in Dart

  1. If upgrading, delete all proto files from /home/.pub-cache/bin
  2. Clone the latest dart-protoc-plugin from https://github.com/dart-lang/dart-protoc-plugin
  3. Run pub install inside dart-protoc-plugin
  4. Run pub global activate protoc_plugin to get .dart files into /home/.pub-cache/bin/
  5. Get the latest linux protoc compiler from https://github.com/google/protobuf/releases/ (protoc-X.X.X-linux-x86_64.zip)
  6. Copy /bin/protoc into /home/.pub-cache/bin/
  7. Run the following commands from the protos folder protoc --dart_out=../lib/gen ./flutterblue.proto protoc --objc_out=../ios/gen ./flutterblue.proto