Skip to content

Commit

Permalink
feat: Downgrade to Flutter 3.0 (#3244)
Browse files Browse the repository at this point in the history
* Revert commit

* A few bugfixes

* Add missing pubspec.lock files

* Remove unecessary file
  • Loading branch information
g123k committed Nov 1, 2022
1 parent 14cfed4 commit c52073d
Show file tree
Hide file tree
Showing 20 changed files with 135 additions and 94 deletions.
Expand Up @@ -75,7 +75,9 @@ jobs:
with:
channel: stable
cache: true
cache-key: ${{ inputs.FLUTTER-CACHE-KEY }}
flutter-version: '3.0.5'
#cache-key: ${{ inputs.FLUTTER-CACHE-KEY }}
cache-key: revert-3.0.5

- name: Flutter version
run: flutter --version
Expand Down
Expand Up @@ -65,7 +65,9 @@ jobs:
with:
channel: stable
cache: true
cache-key: ${{ inputs.FLUTTER-CACHE-KEY }}
flutter-version: '3.0.5'
#cache-key: ${{ inputs.FLUTTER-CACHE-KEY }}
cache-key: revert-3.0.5

- name: Flutter version
run: flutter --version
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/postsubmit.yml
Expand Up @@ -29,8 +29,10 @@ jobs:
with:
channel: stable
cache: true
cache-key: flutter-${{ env.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock')}}

flutter-version: '3.0.5'
#cache-key: flutter-${{ env.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock')}}
cache-key: revert-3.0.5

- run: flutter --version

# Get dependencies.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/presubmit.yml
Expand Up @@ -24,7 +24,9 @@ jobs:
with:
channel: stable
cache: true
cache-key: flutter-${{ env.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock')}}
flutter-version: '3.0.5'
#cache-key: flutter-${{ env.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock')}}
cache-key: revert-3.0.5

- run: flutter --version

Expand Down
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -10,7 +10,15 @@

[![SmoothApp Post-Submit Tests](https://github.com/openfoodfacts/smooth-app/actions/workflows/postsubmit.yml/badge.svg)](https://github.com/openfoodfacts/smooth-app/actions/workflows/postsubmit.yml)

- Latest deployed release: [here](https://github.com/openfoodfacts/smooth-app/releases/tag/v3.23.0)
## Alert!

We are currently using Flutter 3.0.5 as the new 3.3.0 [has some bugs](https://github.com/openfoodfacts/smooth-app/issues/2919).

Running `flutter downgrade 3.0.5` downgrades the version.

------

Latest commit deployed to App Stores: (Released on Sep 6 6:29 PM as Build 731 (3.13.1)) https://github.com/openfoodfacts/smooth-app/compare/v3.8.1...v3.13.1

- A <b> Flutter application </b> by [Open Food Facts](https://github.com/openfoodfacts).

Expand Down
85 changes: 46 additions & 39 deletions packages/app/pubspec.lock
Expand Up @@ -7,7 +7,7 @@ packages:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "3.3.0"
version: "3.1.11"
args:
dependency: transitive
description:
Expand All @@ -21,7 +21,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.9.0"
version: "2.8.2"
audioplayers:
dependency: transitive
description:
Expand Down Expand Up @@ -139,7 +139,14 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
version: "1.2.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
checked_yaml:
dependency: transitive
description:
Expand All @@ -160,7 +167,7 @@ packages:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.1"
version: "1.1.0"
collection:
dependency: transitive
description:
Expand All @@ -174,7 +181,7 @@ packages:
name: connectivity_plus
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.8"
version: "2.3.9"
connectivity_plus_linux:
dependency: transitive
description:
Expand All @@ -195,14 +202,14 @@ packages:
name: connectivity_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
version: "1.2.3"
connectivity_plus_web:
dependency: transitive
description:
name: connectivity_plus_web
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.4"
version: "1.2.5"
connectivity_plus_windows:
dependency: transitive
description:
Expand All @@ -223,7 +230,7 @@ packages:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2"
version: "3.0.1"
csslib:
dependency: transitive
description:
Expand Down Expand Up @@ -321,7 +328,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "1.3.0"
ffi:
dependency: transitive
description:
Expand Down Expand Up @@ -392,7 +399,7 @@ packages:
name: flutter_map
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "2.2.0"
flutter_native_splash:
dependency: transitive
description:
Expand Down Expand Up @@ -479,7 +486,7 @@ packages:
name: freezed_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.2.0"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
Expand All @@ -498,7 +505,7 @@ packages:
name: fwfh_text_style
url: "https://pub.dartlang.org"
source: hosted
version: "2.22.08+1"
version: "2.22.08"
google_mlkit_barcode_scanning:
dependency: transitive
description:
Expand Down Expand Up @@ -533,7 +540,7 @@ packages:
name: html
url: "https://pub.dartlang.org"
source: hosted
version: "0.15.0"
version: "0.15.1"
http:
dependency: transitive
description:
Expand All @@ -547,7 +554,7 @@ packages:
name: http_parser
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.1"
version: "4.0.2"
image:
dependency: transitive
description:
Expand Down Expand Up @@ -664,7 +671,7 @@ packages:
name: lints
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "2.0.1"
lists:
dependency: transitive
description:
Expand Down Expand Up @@ -692,14 +699,14 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.12"
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.5"
version: "0.1.4"
matomo_tracker:
dependency: transitive
description:
Expand Down Expand Up @@ -755,7 +762,7 @@ packages:
name: openfoodfacts
url: "https://pub.dartlang.org"
source: hosted
version: "1.26.2"
version: "1.27.0"
openfoodfacts_flutter_lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -841,7 +848,7 @@ packages:
name: path_provider_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.20"
version: "2.0.21"
path_provider_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -904,7 +911,7 @@ packages:
name: permission_handler_apple
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.6"
version: "9.0.7"
permission_handler_platform_interface:
dependency: transitive
description:
Expand All @@ -918,7 +925,7 @@ packages:
name: permission_handler_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.1"
version: "0.1.2"
petitparser:
dependency: transitive
description:
Expand Down Expand Up @@ -1023,7 +1030,7 @@ packages:
name: sentry
url: "https://pub.dartlang.org"
source: hosted
version: "6.11.2"
version: "6.13.1"
sentry_flutter:
dependency: transitive
description:
Expand All @@ -1044,7 +1051,7 @@ packages:
name: share_plus_linux
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "3.0.1"
share_plus_macos:
dependency: transitive
description:
Expand All @@ -1058,7 +1065,7 @@ packages:
name: share_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.1"
version: "3.2.0"
share_plus_web:
dependency: transitive
description:
Expand Down Expand Up @@ -1086,7 +1093,7 @@ packages:
name: shared_preferences_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.13"
version: "2.0.14"
shared_preferences_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -1154,7 +1161,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.0"
version: "1.8.2"
sqflite:
dependency: transitive
description:
Expand All @@ -1168,7 +1175,7 @@ packages:
name: sqflite_common
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
version: "2.4.0"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -1196,14 +1203,14 @@ packages:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.1"
version: "1.1.0"
sync_http:
dependency: transitive
description:
name: sync_http
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.1"
version: "0.3.0"
synchronized:
dependency: transitive
description:
Expand All @@ -1226,28 +1233,28 @@ packages:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.1"
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.12"
version: "0.4.9"
tuple:
dependency: transitive
description:
name: tuple
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "2.0.1"
typed_data:
dependency: transitive
dependency: "direct overridden"
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "1.3.0"
unicode:
dependency: transitive
description:
Expand Down Expand Up @@ -1282,7 +1289,7 @@ packages:
name: url_launcher_android
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.19"
version: "6.0.21"
url_launcher_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -1352,7 +1359,7 @@ packages:
name: vm_service
url: "https://pub.dartlang.org"
source: hosted
version: "9.0.0"
version: "8.2.2"
webdriver:
dependency: transitive
description:
Expand All @@ -1366,7 +1373,7 @@ packages:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
version: "3.0.1"
wkt_parser:
dependency: transitive
description:
Expand Down Expand Up @@ -1403,5 +1410,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=2.18.0 <3.0.0"
flutter: ">=3.3.2"
dart: ">=2.17.6 <3.0.0"
flutter: ">=3.0.0"

0 comments on commit c52073d

Please sign in to comment.