diff --git a/storage/storage.cpp b/storage/storage.cpp index 5e6f00ca7a..ae40df96c9 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -293,6 +293,12 @@ void Storage::RegisterAllLocalMaps(bool enableDiffs) i = j; } + if (minVersion > maxVersion) + { + minVersion = 0; + maxVersion = 0; + } + GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapVersionMin, strings::to_string(minVersion)); GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapVersionMax,