feat: Update project version to 9 and enhance debug print functionality

This commit is contained in:
Janez T
2025-10-16 14:03:44 +02:00
parent bf4305bdb3
commit 9ae3acb3dc
5 changed files with 43 additions and 12 deletions

View File

@@ -25,7 +25,30 @@
"Read(//Users/dz0ny/meshcore-sar/**)", "Read(//Users/dz0ny/meshcore-sar/**)",
"Bash(git grep:*)", "Bash(git grep:*)",
"Bash(dart analyze:*)", "Bash(dart analyze:*)",
"Bash(flutter logs --clear)" "Bash(flutter logs --clear)",
"Bash(for file in /Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/providers/contacts_provider.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/providers/connection_provider.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/providers/messages_provider.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/screens/messages_tab.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/screens/map_management_screen.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/screens/home_screen.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/ble/ble_connection_manager.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/ble/ble_response_handler.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/ble/ble_command_sender.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/meshcore_ble_service.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/contact_storage_service.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/message_storage_service.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/cayenne_lpp_parser.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/tile_cache_service.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/services/background_location_service.dart )",
"Bash(/Users/dz0ny/meshcore-sar/meshcore_sar_app/lib/widgets/contacts/room_login_sheet.dart)",
"Bash(do)",
"Bash(if grep -q \"debugPrint(\" \"$file\")",
"Bash(! grep -q \"import.*debug_print.dart\" \"$file\")",
"Bash(then)",
"Bash(echo:*)",
"Bash(fi)",
"Bash(done)"
], ],
"deny": [], "deny": [],
"ask": [] "ask": []

View File

@@ -489,7 +489,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 9;
DEVELOPMENT_TEAM = JND55328G8; DEVELOPMENT_TEAM = JND55328G8;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_FILE = Runner/Info.plist;
@@ -511,7 +511,7 @@
buildSettings = { buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)"; BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 9;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0; MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests; PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests;
@@ -529,7 +529,7 @@
buildSettings = { buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)"; BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 9;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0; MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests; PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests;
@@ -545,7 +545,7 @@
buildSettings = { buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)"; BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 9;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0; MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests; PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests;
@@ -676,7 +676,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 9;
DEVELOPMENT_TEAM = JND55328G8; DEVELOPMENT_TEAM = JND55328G8;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_FILE = Runner/Info.plist;
@@ -699,7 +699,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 7; CURRENT_PROJECT_VERSION = 9;
DEVELOPMENT_TEAM = JND55328G8; DEVELOPMENT_TEAM = JND55328G8;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_FILE = Runner/Info.plist;

View File

@@ -21,7 +21,7 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>7</string> <string>9</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>

View File

@@ -5,22 +5,22 @@
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000208"> <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000226">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="1: increment_build_number" time="0.263442"> <testcase classname="fastlane.lanes" name="1: increment_build_number" time="0.29873">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="2: build_app" time="87.581069"> <testcase classname="fastlane.lanes" name="2: build_app" time="91.771779">
</testcase> </testcase>
<testcase classname="fastlane.lanes" name="3: upload_to_testflight" time="255.604797"> <testcase classname="fastlane.lanes" name="3: upload_to_testflight" time="354.81791">
</testcase> </testcase>

View File

@@ -0,0 +1,8 @@
import 'package:flutter/foundation.dart';
/// Debug print that only outputs in debug builds
void debugPrint(Object? message) {
if (kDebugMode) {
print(message);
}
}