From be7fe6c4b08d0c30c1d346255a6ab0d6be399702 Mon Sep 17 00:00:00 2001 From: Janez T Date: Sun, 1 Mar 2026 14:04:41 +0100 Subject: [PATCH] Fix null-aware marker usage --- ios/Podfile.lock | 2 +- ios/Runner.xcodeproj/project.pbxproj | 12 ++++++------ ios/Runner/Info.plist | 2 +- ios/fastlane/report.xml | 11 ++++------- lib/services/message_destination_preferences.dart | 2 +- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 0c7ee26..36e4431 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -159,7 +159,7 @@ SPEC CHECKSUMS: flutter_background_service_ios: 00d31bdff7b4bfe06d32375df358abe0329cf87e flutter_blue_plus_darwin: 20a08bfeaa0f7804d524858d3d8744bcc1b6dbc3 flutter_compass: b236ab69b61545cce89fd58527f401a7587d5cc1 - flutter_local_notifications: 643a3eda1ce1c0599413ca31672536d423dee214 + flutter_local_notifications: a5a732f069baa862e728d839dd2ebb904737effb geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e nsd_ios: 596ad79109ddd3e52d665f650f36428049e3653e ObjectBox: 7da4aceb5013d041bfafdbc6d744a26918b09757 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 807bc4d..44b900c 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -489,7 +489,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 62; + CURRENT_PROJECT_VERSION = 64; DEVELOPMENT_TEAM = JND55328G8; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -511,7 +511,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 62; + CURRENT_PROJECT_VERSION = 64; DEVELOPMENT_TEAM = JND55328G8; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; @@ -530,7 +530,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 62; + CURRENT_PROJECT_VERSION = 64; DEVELOPMENT_TEAM = JND55328G8; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; @@ -547,7 +547,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 62; + CURRENT_PROJECT_VERSION = 64; DEVELOPMENT_TEAM = JND55328G8; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; @@ -679,7 +679,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 62; + CURRENT_PROJECT_VERSION = 64; DEVELOPMENT_TEAM = JND55328G8; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -702,7 +702,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 62; + CURRENT_PROJECT_VERSION = 64; DEVELOPMENT_TEAM = JND55328G8; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index d490e21..6a0c4f3 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -43,7 +43,7 @@ CFBundleSignature ???? CFBundleVersion - 62 + 64 LSRequiresIPhoneOS NSBluetoothAlwaysUsageDescription diff --git a/ios/fastlane/report.xml b/ios/fastlane/report.xml index 2285845..46eea60 100644 --- a/ios/fastlane/report.xml +++ b/ios/fastlane/report.xml @@ -5,22 +5,19 @@ - + - + - + - - - - + diff --git a/lib/services/message_destination_preferences.dart b/lib/services/message_destination_preferences.dart index 37d1994..7af37b0 100644 --- a/lib/services/message_destination_preferences.dart +++ b/lib/services/message_destination_preferences.dart @@ -26,7 +26,7 @@ class MessageDestinationPreferences { return { 'type': type, - if (publicKey != null) 'publicKey': publicKey, + 'publicKey': ?publicKey, }; }