From 4e6b77853f402baa1e41839c11c01dcbdaa3c452 Mon Sep 17 00:00:00 2001 From: klockky Date: Tue, 23 Jun 2026 15:53:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B3=D0=BE=D0=B2=D0=BE=D1=80=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D0=B6=D0=B5=20=D0=BC=D0=BD=D0=B5=20=D1=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Flutter/AppFrameworkInfo.plist | 2 +- ios/Podfile | 2 +- ios/Runner.xcodeproj/project.pbxproj | 6 +- lib/frontend/screens/chats/chat_screen.dart | 2 +- .../screens/chats/create_group_flow.dart | 2 +- .../screens/profile/cloud_storage_screen.dart | 2 +- .../screens/profile/edit_profile_screen.dart | 2 +- pubspec.lock | 72 ++++++------------- pubspec.yaml | 8 +-- 9 files changed, 33 insertions(+), 65 deletions(-) diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist index 163000d..1dc6cf7 100644 --- a/ios/Flutter/AppFrameworkInfo.plist +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 14.0 + 13.0 diff --git a/ios/Podfile b/ios/Podfile index a91a16e..57209b3 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '14.0' +platform :ios, '13.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 2e7c793..b6d29d3 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -463,7 +463,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -592,7 +592,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -643,7 +643,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/lib/frontend/screens/chats/chat_screen.dart b/lib/frontend/screens/chats/chat_screen.dart index 6289f15..b05d34b 100644 --- a/lib/frontend/screens/chats/chat_screen.dart +++ b/lib/frontend/screens/chats/chat_screen.dart @@ -4195,7 +4195,7 @@ class _ChatScreenState extends State } Future _pickAndUploadFile({int? scheduledTime}) async { - final result = await FilePicker.pickFiles(); + final result = await FilePicker.platform.pickFiles(); if (result == null || result.files.isEmpty) return; final file = result.files.first; if (file.path == null) return; diff --git a/lib/frontend/screens/chats/create_group_flow.dart b/lib/frontend/screens/chats/create_group_flow.dart index c8f9f90..782ba18 100644 --- a/lib/frontend/screens/chats/create_group_flow.dart +++ b/lib/frontend/screens/chats/create_group_flow.dart @@ -97,7 +97,7 @@ class _CreateGroupFlowState extends State<_CreateGroupFlow> { Future _pickAvatar() async { if (_creating) return; - final result = await FilePicker.pickFiles(type: FileType.image); + final result = await FilePicker.platform.pickFiles(type: FileType.image); if (result == null || result.files.isEmpty) return; final path = result.files.first.path; if (path == null) return; diff --git a/lib/frontend/screens/profile/cloud_storage_screen.dart b/lib/frontend/screens/profile/cloud_storage_screen.dart index 80580f1..1b4568a 100644 --- a/lib/frontend/screens/profile/cloud_storage_screen.dart +++ b/lib/frontend/screens/profile/cloud_storage_screen.dart @@ -237,7 +237,7 @@ class _CloudStorageScreenState extends State final accountId = _accountId; if (chatId == null || accountId == null) return; - final result = await FilePicker.pickFiles(); + final result = await FilePicker.platform.pickFiles(); if (result == null || result.files.isEmpty) return; final picked = result.files.first; if (picked.path == null) return; diff --git a/lib/frontend/screens/profile/edit_profile_screen.dart b/lib/frontend/screens/profile/edit_profile_screen.dart index 6e4ef47..5aa4075 100644 --- a/lib/frontend/screens/profile/edit_profile_screen.dart +++ b/lib/frontend/screens/profile/edit_profile_screen.dart @@ -82,7 +82,7 @@ class _EditProfileScreenState extends State { Future _changeAvatar() async { if (_isSaving) return; - final result = await FilePicker.pickFiles( + final result = await FilePicker.platform.pickFiles( type: FileType.image, withData: true, ); diff --git a/pubspec.lock b/pubspec.lock index 64b55e7..7a558f4 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -221,18 +221,18 @@ packages: dependency: "direct main" description: name: device_info_plus - sha256: "6a642e1daa10190af89ba6cb6386c0df7d071a3592080bfe1e44faa63ae1df65" + sha256: "4df8babf73058181227e18b08e6ea3520cf5fc5d796888d33b7cb0f33f984b7c" url: "https://pub.dev" source: hosted - version: "13.1.0" + version: "12.3.0" device_info_plus_platform_interface: dependency: transitive description: name: device_info_plus_platform_interface - sha256: "04b173a92e2d9161dfead145667037c8d834db725ce2e7b942bfe18fd2f45a46" + sha256: e1ea89119e34903dca74b883d0dd78eb762814f97fb6c76f35e9ff74d261a18f url: "https://pub.dev" source: hosted - version: "8.1.0" + version: "7.0.3" dynamic_color: dependency: "direct main" description: @@ -281,14 +281,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.2.0" - ffi_leak_tracker: - dependency: transitive - description: - name: ffi_leak_tracker - sha256: "4093d4ef9ca06ffe2786e73bfb25e22aa92112b9bb4ec941f11e3e6b61489a97" - url: "https://pub.dev" - source: hosted - version: "0.1.2" file: dependency: transitive description: @@ -301,10 +293,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: fdc6a37f715d19f35b131decf1ce39242eeed5ddae18c0818c3eccb731ab76be + sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810 url: "https://pub.dev" source: hosted - version: "12.0.0-beta.7" + version: "8.3.7" firebase_core: dependency: "direct main" description: @@ -551,10 +543,10 @@ packages: dependency: transitive description: name: flutter_secure_storage_windows - sha256: "471951813a97006d899db4948acc654a4f28c440083ea08178935ce20b173ec1" + sha256: "3b7c8e068875dfd46719ff57c90d8c459c87f2302ed6b00ff006b3c9fcad1613" url: "https://pub.dev" source: hosted - version: "4.2.2" + version: "4.1.0" flutter_test: dependency: "direct dev" description: flutter @@ -581,30 +573,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.5.2" - geoclue: - dependency: transitive - description: - name: geoclue - sha256: c2a998c77474fc57aa00c6baa2928e58f4b267649057a1c76738656e9dbd2a7f - url: "https://pub.dev" - source: hosted - version: "0.1.1" geolocator: dependency: "direct main" description: name: geolocator - sha256: e146a6d63776582651e97a79cbe459f8e1211b100101fadcd84db83361fa599f + sha256: f62bcd90459e63210bbf9c35deb6a51c521f992a78de19a1fe5c11704f9530e2 url: "https://pub.dev" source: hosted - version: "14.0.3" + version: "13.0.4" geolocator_android: dependency: transitive description: name: geolocator_android - sha256: "86ea1654e4f61ff51466848e91c116b422d6010ea269fda0fbe1af7e9e742ce1" + sha256: fcb1760a50d7500deca37c9a666785c047139b5f9ee15aa5469fae7dbbe3170d url: "https://pub.dev" source: hosted - version: "5.0.3" + version: "4.6.2" geolocator_apple: dependency: transitive description: @@ -613,14 +597,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.14" - geolocator_linux: - dependency: transitive - description: - name: geolocator_linux - sha256: "3da7420f11c3496511a5bd3c18fd67b88e5659f12e46b7ce00a788f6996e850a" - url: "https://pub.dev" - source: hosted - version: "0.2.6" geolocator_platform_interface: dependency: transitive description: @@ -661,14 +637,6 @@ packages: url: "https://pub.dev" source: hosted version: "8.1.0" - gsettings: - dependency: transitive - description: - name: gsettings - sha256: "1b0ce661f5436d2db1e51f3c4295a49849f03d304003a7ba177d01e3a858249c" - url: "https://pub.dev" - source: hosted - version: "0.2.8" gtk: dependency: transitive description: @@ -961,18 +929,18 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: "4bf625947f6c7713ee242296a682e23e44823c09cf9d79e4f1238923c92db852" + sha256: "468c26b4254ab01979fa5e4a98cb343ea3631b9acee6f21028997419a80e1a20" url: "https://pub.dev" source: hosted - version: "10.1.0" + version: "9.0.1" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: db762cb2f4f25ee60fb6359773861b0f199e00b90d237bd85a76a1e806b46ef4 + sha256: "202a487f08836a592a6bd4f901ac69b3a8f146af552bbd14407b6b41e1c3f086" url: "https://pub.dev" source: hosted - version: "4.1.0" + version: "3.2.1" path: dependency: "direct main" description: @@ -1462,18 +1430,18 @@ packages: dependency: transitive description: name: win32 - sha256: ba6f4bba816c8d7e3c1580e170f3786d216951cc6b94babc3b814c08d2cb2738 + sha256: d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "5.15.0" win32_registry: dependency: transitive description: name: win32_registry - sha256: "73b1d78920a9d6e03f8b4e43e612b87bf3152a0e5c5e5150267762b7c4116904" + sha256: "6f1b564492d0147b330dd794fee8f512cec4977957f310f9951b5f9d83618dae" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "2.1.0" xdg_directories: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ee3b972..78963af 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -41,11 +41,11 @@ dependencies: msgpack_dart: ^1.0.1 crypto: ^3.0.7 logger: ^2.6.2 - device_info_plus: ^13.1.0 + device_info_plus: 12.3.0 flutter_timezone: ^5.0.1 timezone: ^0.11.0 - file_picker: ^12.0.0-beta.7 - geolocator: ^14.0.3 + file_picker: ^8.0.0 + geolocator: ^13.0.0 photo_manager: ^3.0.0 image: ^4.3.0 sqflite: ^2.4.2 @@ -57,7 +57,7 @@ dependencies: dynamic_color: ^1.8.1 shared_preferences: ^2.5.4 flutter_secure_storage: ^10.3.1 - package_info_plus: ^10.1.0 + package_info_plus: ^9.0.1 mobile_scanner: ^7.2.0 cached_network_image: ^3.4.1 path_provider: ^2.1.4