From ed5761a847fc5c57da99e3cf1cfc49cb0f232f57 Mon Sep 17 00:00:00 2001 From: Sven Carstensen Date: Fri, 17 Nov 2023 11:25:36 +0100 Subject: [PATCH] Erweiterungen --- lib/tools/mqtt_core.dart | 3 +-- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/tools/mqtt_core.dart b/lib/tools/mqtt_core.dart index 24a2457..e2bceb2 100644 --- a/lib/tools/mqtt_core.dart +++ b/lib/tools/mqtt_core.dart @@ -1,7 +1,6 @@ import 'dart:async'; import 'dart:convert'; import 'dart:math'; -import 'dart:typed_data' as typed; import 'package:flutter_broadcast_receiver/flutter_broadcast_receiver.dart'; import 'package:mqtt_client/mqtt_client.dart'; @@ -227,7 +226,7 @@ class MqttCore { var startSessionMessage = StartSessionMessage(); startSessionMessage.recv = "server"; startSessionMessage.store = true; - startSessionMessage.messageId = const Uuid().v4();; + startSessionMessage.messageId = const Uuid().v4(); startSessionMessage.payload = playload; var jsonMap = startSessionMessage.toJson(); diff --git a/pubspec.yaml b/pubspec.yaml index 69de0ec..7bda0d3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+1 +version: 5.0.0+1 environment: sdk: '>=2.19.6 <3.0.0'