Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade the Flutter version to 3.24 #5613

Merged
merged 3 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Full list of features on the wiki: https://wiki.openfoodfacts.org/Mobile_App/Fea

- Make sure you have installed flutter and all the requirements
- [Official flutter installation guide](https://docs.flutter.dev/get-started/install)
- Currently, the app uses the following version of Flutter (3.22.x).
- Currently, the app uses the following version of Flutter (3.24.x).


We have predefined run configurations for Android Studio and Visual Studio Code
Expand Down
2 changes: 1 addition & 1 deletion flutter-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.22.2
3.24.3
8 changes: 5 additions & 3 deletions packages/app_store/apple_app_store/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -18,6 +18,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.3
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24
8 changes: 5 additions & 3 deletions packages/app_store/google_play/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -18,8 +18,10 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.3
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24

flutter:
8 changes: 5 additions & 3 deletions packages/app_store/shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -13,8 +13,10 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.3
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24

flutter:
8 changes: 5 additions & 3 deletions packages/app_store/uri_store/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.0.1
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -18,6 +18,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.3
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24
8 changes: 5 additions & 3 deletions packages/scanner/ml_kit/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -20,6 +20,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.2
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24
8 changes: 5 additions & 3 deletions packages/scanner/shared/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -16,8 +16,10 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.3
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24

flutter:
8 changes: 5 additions & 3 deletions packages/scanner/zxing/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0
publish_to: "none"

environment:
sdk: '>=3.4.0 <4.0.0'
sdk: ^3.5.3

dependencies:
flutter:
Expand All @@ -18,6 +18,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: 2.0.3
flutter_lints: 4.0.0
openfoodfacts_flutter_lints:
git: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
git:
url: https://github.com/openfoodfacts/openfoodfacts_flutter_lints.git
ref: flutter_3_24
13 changes: 3 additions & 10 deletions packages/smooth_app/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,13 @@ target 'Runner' do
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
# target 'RunnerTests' do
# inherit! :search_paths
# end
end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)

target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'

config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
'PERMISSION_CAMERA=1',
'PERMISSION_PHOTOS=1',
]
end
end
end
Loading
Loading