Skip to content

Commit 85d3ead

Browse files
committed
feat: Update dependencies and bump iOS deployment target
This commit updates several dependencies, raises the minimum iOS deployment target, and introduces minor code improvements. - **Dependency Updates:** - `flutter_image_compress`: `^2.0.4` -> `^2.4.0` - `package_info_plus`: `^8.0.0` -> `^9.0.0` - `device_info_plus`: `^11.1.0` -> `^12.1.0` - `share_plus`: `^11.0.0` -> `^12.0.0` - `upgrader`: `^11.3.0` -> `^12.0.0` - `flutter_secure_storage`: `^9.0.0` -> `^9.2.4` - `local_auth`: `^2.1.7` -> `^3.0.0` - `kotlin_version`: `1.9.22` -> `2.1.0` - Added `firebase-perf:22.0.3` for Android. - Added `foundation_models_framework: ^0.2.0`. - **iOS Configuration:** - Updated the minimum iOS deployment target from `12.0` to `13.0`. - Set the platform version in `Podfile` to `26.0`. - Updated various Xcode project settings (`IPHONEOS_DEPLOYMENT_TARGET`). - **Code Refinements:** - `SteamGameDataResult.dart`: Made the `screenshots` field in the model optional to handle cases where it might be missing from the API response. - `SecureStorageUtils.dart`: Cleaned up the `authenticate` method call in `local_auth` and removed an unused error handling block. - Wrapped generated Retrofit client files (`.g.dart`) with `dart format off/on` to prevent formatting issues. - **Version Bump:** - App version changed from `1.6.9+153` to `1.6.10+154`.
1 parent 924f8bf commit 85d3ead

16 files changed

+66
-29
lines changed

android/app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@ dependencies {
131131
def multidex_version = "2.0.1"
132132
implementation "androidx.multidex:multidex:$multidex_version"
133133
implementation platform('com.google.firebase:firebase-bom:32.3.1')
134+
implementation 'com.google.firebase:firebase-core:17.4.1'
134135
implementation 'com.google.firebase:firebase-analytics:17.4.1'
135136
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
136137
implementation 'androidx.window:window:1.2.0'
137138
implementation 'androidx.window:window-java:1.2.0'
139+
implementation 'com.google.firebase:firebase-perf:22.0.3'
138140
}

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
google()
44
mavenCentral()
55
}
6-
ext.kotlin_version = '1.9.22'
6+
ext.kotlin_version = '2.1.0'
77
// ext {
88
// agp_version = '7.4.2'
99
// }
@@ -12,6 +12,7 @@ buildscript {
1212
classpath 'com.google.gms:google-services:4.3.15'
1313
// END: FlutterFire Configuration
1414
classpath 'com.android.tools.build:gradle:8.7.3'
15+
classpath 'com.google.firebase:perf-plugin:2.0.2'
1516
}
1617
}
1718

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
platform :ios, '15.6'
2+
platform :ios, '26.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@
391391
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
392392
COPY_PHASE_STRIP = NO;
393393
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
394+
DEVELOPMENT_TEAM = 754YC8V4LH;
394395
ENABLE_NS_ASSERTIONS = NO;
395396
ENABLE_STRICT_OBJC_MSGSEND = YES;
396397
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -402,11 +403,13 @@
402403
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
403404
GCC_WARN_UNUSED_FUNCTION = YES;
404405
GCC_WARN_UNUSED_VARIABLE = YES;
405-
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
406+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
406407
MTL_ENABLE_DEBUG_INFO = NO;
407408
SDKROOT = iphoneos;
409+
STRING_CATALOG_GENERATE_SYMBOLS = YES;
408410
SUPPORTED_PLATFORMS = iphoneos;
409411
SWIFT_EMIT_LOC_STRINGS = YES;
412+
SWIFT_VERSION = 5.0;
410413
TARGETED_DEVICE_FAMILY = "1,2";
411414
VALIDATE_PRODUCT = YES;
412415
};
@@ -422,11 +425,10 @@
422425
CODE_SIGN_IDENTITY = "Apple Development";
423426
CODE_SIGN_STYLE = Automatic;
424427
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
425-
DEVELOPMENT_TEAM = 754YC8V4LH;
426428
ENABLE_BITCODE = NO;
427429
ENABLE_USER_SCRIPT_SANDBOXING = NO;
428430
INFOPLIST_FILE = Runner/Info.plist;
429-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
431+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
430432
LD_RUNPATH_SEARCH_PATHS = (
431433
"$(inherited)",
432434
"@executable_path/Frameworks",
@@ -475,6 +477,7 @@
475477
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
476478
COPY_PHASE_STRIP = NO;
477479
DEBUG_INFORMATION_FORMAT = dwarf;
480+
DEVELOPMENT_TEAM = 754YC8V4LH;
478481
ENABLE_STRICT_OBJC_MSGSEND = YES;
479482
ENABLE_TESTABILITY = YES;
480483
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -492,11 +495,13 @@
492495
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
493496
GCC_WARN_UNUSED_FUNCTION = YES;
494497
GCC_WARN_UNUSED_VARIABLE = YES;
495-
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
498+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
496499
MTL_ENABLE_DEBUG_INFO = YES;
497500
ONLY_ACTIVE_ARCH = YES;
498501
SDKROOT = iphoneos;
502+
STRING_CATALOG_GENERATE_SYMBOLS = YES;
499503
SWIFT_EMIT_LOC_STRINGS = YES;
504+
SWIFT_VERSION = 5.0;
500505
TARGETED_DEVICE_FAMILY = "1,2";
501506
};
502507
name = Debug;
@@ -535,6 +540,7 @@
535540
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
536541
COPY_PHASE_STRIP = NO;
537542
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
543+
DEVELOPMENT_TEAM = 754YC8V4LH;
538544
ENABLE_NS_ASSERTIONS = NO;
539545
ENABLE_STRICT_OBJC_MSGSEND = YES;
540546
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -546,13 +552,15 @@
546552
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
547553
GCC_WARN_UNUSED_FUNCTION = YES;
548554
GCC_WARN_UNUSED_VARIABLE = YES;
549-
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
555+
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
550556
MTL_ENABLE_DEBUG_INFO = NO;
551557
SDKROOT = iphoneos;
558+
STRING_CATALOG_GENERATE_SYMBOLS = YES;
552559
SUPPORTED_PLATFORMS = iphoneos;
553560
SWIFT_COMPILATION_MODE = wholemodule;
554561
SWIFT_EMIT_LOC_STRINGS = YES;
555562
SWIFT_OPTIMIZATION_LEVEL = "-O";
563+
SWIFT_VERSION = 5.0;
556564
TARGETED_DEVICE_FAMILY = "1,2";
557565
VALIDATE_PRODUCT = YES;
558566
};
@@ -568,11 +576,10 @@
568576
CODE_SIGN_IDENTITY = "Apple Development";
569577
CODE_SIGN_STYLE = Automatic;
570578
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
571-
DEVELOPMENT_TEAM = 754YC8V4LH;
572579
ENABLE_BITCODE = NO;
573580
ENABLE_USER_SCRIPT_SANDBOXING = NO;
574581
INFOPLIST_FILE = Runner/Info.plist;
575-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
582+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
576583
LD_RUNPATH_SEARCH_PATHS = (
577584
"$(inherited)",
578585
"@executable_path/Frameworks",
@@ -598,11 +605,10 @@
598605
CODE_SIGN_IDENTITY = "Apple Development";
599606
CODE_SIGN_STYLE = Automatic;
600607
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
601-
DEVELOPMENT_TEAM = 754YC8V4LH;
602608
ENABLE_BITCODE = NO;
603609
ENABLE_USER_SCRIPT_SANDBOXING = NO;
604610
INFOPLIST_FILE = Runner/Info.plist;
605-
IPHONEOS_DEPLOYMENT_TARGET = 15.6;
611+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
606612
LD_RUNPATH_SEARCH_PATHS = (
607613
"$(inherited)",
608614
"@executable_path/Frameworks",

lib/JsonResult/SteamGameDataResult.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class SteamGameData{
3535
AvailablePlatform platforms = AvailablePlatform();
3636
@JsonKey(defaultValue: [])
3737
List<GameCategory> categories = [];
38+
@JsonKey(required:false, defaultValue: [])
3839
List<GameScreenshot> screenshots = [];
3940
@JsonKey(required: false, defaultValue: [])
4041
List<GameMovie> movies = [];

lib/JsonResult/SteamGameDataResult.g.dart

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/client/BilibiliApiClient.g.dart

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/client/CheveretoApiClient.g.dart

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/client/MobileApiClient.g.dart

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)