From e293727ec8aeeb59d655e29da81855137976b171 Mon Sep 17 00:00:00 2001 From: stopflock Date: Sat, 16 Aug 2025 19:53:47 -0500 Subject: [PATCH] Put version reported to OSM into dev_config --- lib/dev_config.dart | 4 ++++ lib/services/uploader.dart | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/dev_config.dart b/lib/dev_config.dart index 50e2692..bfa8f52 100644 --- a/lib/dev_config.dart +++ b/lib/dev_config.dart @@ -13,6 +13,10 @@ const double kDirectionConeBaseLength = 0.0012; // multiplier // Add Camera pin vertical offset (for pin tip to match coordinate on map) const double kAddPinYOffset = -16.0; +// Client name and version for OSM uploads ("created_by" tag) +const String kClientName = 'FlockMap'; +const String kClientVersion = '0.8.1'; + // Marker/camera interaction const int kCameraMinZoomLevel = 10; // Minimum zoom to show cameras or warning const Duration kMarkerTapTimeout = Duration(milliseconds: 250); diff --git a/lib/services/uploader.dart b/lib/services/uploader.dart index e48243f..e444ebb 100644 --- a/lib/services/uploader.dart +++ b/lib/services/uploader.dart @@ -20,7 +20,7 @@ class Uploader { final csXml = ''' - + ''';