Skip to content

Commit 4100b0b

Browse files
committed
update to flutter 3.0.1, dependencies and fix new linter
1 parent 55520da commit 4100b0b

33 files changed

+329
-225
lines changed

.github/workflows/remove-old-artifacts.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- name: Remove old artifacts
2020
uses: c-hive/gha-remove-artifacts@v1
2121
with:
22-
age: '1 month'
22+
age: '7 days'
2323
skip-tags: true
2424
skip-recent: 5

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818

1919
```yaml
2020
environment:
21-
sdk: ">=2.16.1 <3.0.0"
22-
flutter: ">=2.10.1"
21+
sdk: ">=2.17.1 <3.0.0"
22+
flutter: ">=3.0.1"
2323
```
2424
2525
```shell
26-
Flutter 2.10.1 • channel stable • https://github.com/flutter/flutter.git
27-
Framework • revision db747aa133 (2 weeks ago) • 2022-02-09 13:57:35 -0600
28-
Engine • revision ab46186b24
29-
Tools • Dart 2.16.1 • DevTools 2.9.2
26+
Flutter 3.0.1 • channel stable • https://github.com/flutter/flutter.git
27+
Framework • revision fb57da5f94 (2 weeks ago) • 2022-05-19 15:50:29 -0700
28+
Engine • revision caaafc5604
29+
Tools • Dart 2.17.1 • DevTools 2.12.2
3030
```
3131

3232
## Screenshots

analysis_options.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
include: package:flutter_lints/flutter.yaml
22

3-
analyzer:
4-
enable-experiment:
5-
- nonfunction-type-aliases
6-
73
linter:
84
rules:
95
- prefer_final_locals

ios/Flutter/AppFrameworkInfo.plist

+1-1
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>8.0</string>
24+
<string>9.0</string>
2525
</dict>
2626
</plist>

ios/Podfile.lock

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- image_picker (0.0.1):
3+
- image_picker_ios (0.0.1):
44
- Flutter
5-
- shared_preferences (0.0.1):
5+
- shared_preferences_ios (0.0.1):
66
- Flutter
77

88
DEPENDENCIES:
99
- Flutter (from `Flutter`)
10-
- image_picker (from `.symlinks/plugins/image_picker/ios`)
11-
- shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
10+
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
11+
- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
1212

1313
EXTERNAL SOURCES:
1414
Flutter:
1515
:path: Flutter
16-
image_picker:
17-
:path: ".symlinks/plugins/image_picker/ios"
18-
shared_preferences:
19-
:path: ".symlinks/plugins/shared_preferences/ios"
16+
image_picker_ios:
17+
:path: ".symlinks/plugins/image_picker_ios/ios"
18+
shared_preferences_ios:
19+
:path: ".symlinks/plugins/shared_preferences_ios/ios"
2020

2121
SPEC CHECKSUMS:
22-
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
23-
image_picker: 9c3312491f862b28d21ecd8fdf0ee14e601b3f09
24-
shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
22+
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
23+
image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb
24+
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
2525

2626
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
2727

28-
COCOAPODS: 1.9.3
28+
COCOAPODS: 1.11.2

ios/Runner.xcodeproj/project.pbxproj

+21-17
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -164,7 +164,7 @@
164164
97C146E61CF9000F007C117D /* Project object */ = {
165165
isa = PBXProject;
166166
attributes = {
167-
LastUpgradeCheck = 1020;
167+
LastUpgradeCheck = 1300;
168168
ORGANIZATIONNAME = "";
169169
TargetAttributes = {
170170
97C146ED1CF9000F007C117D = {
@@ -233,17 +233,12 @@
233233
buildActionMask = 2147483647;
234234
files = (
235235
);
236-
inputPaths = (
237-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
238-
"${PODS_ROOT}/../Flutter/Flutter.framework",
239-
"${BUILT_PRODUCTS_DIR}/image_picker/image_picker.framework",
240-
"${BUILT_PRODUCTS_DIR}/shared_preferences/shared_preferences.framework",
236+
inputFileListPaths = (
237+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
241238
);
242239
name = "[CP] Embed Pods Frameworks";
243-
outputPaths = (
244-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
245-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/image_picker.framework",
246-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences.framework",
240+
outputFileListPaths = (
241+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
247242
);
248243
runOnlyForDeploymentPostprocessing = 0;
249244
shellPath = /bin/sh;
@@ -353,7 +348,7 @@
353348
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
354349
GCC_WARN_UNUSED_FUNCTION = YES;
355350
GCC_WARN_UNUSED_VARIABLE = YES;
356-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
351+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
357352
MTL_ENABLE_DEBUG_INFO = NO;
358353
SDKROOT = iphoneos;
359354
SUPPORTED_PLATFORMS = iphoneos;
@@ -375,7 +370,10 @@
375370
"$(PROJECT_DIR)/Flutter",
376371
);
377372
INFOPLIST_FILE = Runner/Info.plist;
378-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
373+
LD_RUNPATH_SEARCH_PATHS = (
374+
"$(inherited)",
375+
"@executable_path/Frameworks",
376+
);
379377
LIBRARY_SEARCH_PATHS = (
380378
"$(inherited)",
381379
"$(PROJECT_DIR)/Flutter",
@@ -435,7 +433,7 @@
435433
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
436434
GCC_WARN_UNUSED_FUNCTION = YES;
437435
GCC_WARN_UNUSED_VARIABLE = YES;
438-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
436+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
439437
MTL_ENABLE_DEBUG_INFO = YES;
440438
ONLY_ACTIVE_ARCH = YES;
441439
SDKROOT = iphoneos;
@@ -484,7 +482,7 @@
484482
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
485483
GCC_WARN_UNUSED_FUNCTION = YES;
486484
GCC_WARN_UNUSED_VARIABLE = YES;
487-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
485+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
488486
MTL_ENABLE_DEBUG_INFO = NO;
489487
SDKROOT = iphoneos;
490488
SUPPORTED_PLATFORMS = iphoneos;
@@ -507,7 +505,10 @@
507505
"$(PROJECT_DIR)/Flutter",
508506
);
509507
INFOPLIST_FILE = Runner/Info.plist;
510-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
508+
LD_RUNPATH_SEARCH_PATHS = (
509+
"$(inherited)",
510+
"@executable_path/Frameworks",
511+
);
511512
LIBRARY_SEARCH_PATHS = (
512513
"$(inherited)",
513514
"$(PROJECT_DIR)/Flutter",
@@ -534,7 +535,10 @@
534535
"$(PROJECT_DIR)/Flutter",
535536
);
536537
INFOPLIST_FILE = Runner/Info.plist;
537-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
538+
LD_RUNPATH_SEARCH_PATHS = (
539+
"$(inherited)",
540+
"@executable_path/Frameworks",
541+
);
538542
LIBRARY_SEARCH_PATHS = (
539543
"$(inherited)",
540544
"$(PROJECT_DIR)/Flutter",

ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ios/Runner/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@
4343
</array>
4444
<key>UIViewControllerBasedStatusBarAppearance</key>
4545
<false/>
46+
<key>CADisableMinimumFrameDurationOnPhone</key>
47+
<true/>
4648
</dict>
4749
</plist>

lib/data/local/entities/user_and_token_entity.g.dart

+13-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/data/local/entities/user_entity.g.dart

+17-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/data/remote/network_utils.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void _logResponse(http.Response response) {
3737
debugPrint('[http] <-- ${response.statusCode} ${response.request}');
3838
debugPrint('${_indent}bodyBytes: ${response.bodyBytes.length}');
3939
try {
40-
debugPrint('${_indent}body: ' + response.body);
40+
debugPrint('${_indent}body: ${response.body}');
4141
} catch (_) {}
4242
}
4343

0 commit comments

Comments
 (0)