diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 407289bdfa..a289c3db04 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -7,13 +7,13 @@ This is a comprehensive Flutter mobile application for Open Food Facts, supporti ## Essential Setup and Environment ### Flutter Version Management -- **CRITICAL**: This app requires Flutter version **3.35.1** exactly (as specified in `flutter-version.txt`) +- **CRITICAL**: This app requires Flutter version **3.38.5** exactly (as specified in `flutter-version.txt`) - **ALWAYS** use FVM (Flutter Version Management) for consistent Flutter versions: ```bash # Install FVM first: https://fvm.app/documentation/getting-started/installation - fvm install 3.35.1 - fvm use 3.35.1 - fvm flutter --version # Should show Flutter 3.35.1 + fvm install 3.38.5 + fvm use 3.38.5 + fvm flutter --version # Should show Flutter 3.38.5 ``` - Export Flutter to PATH: `export PATH="$(fvm flutter sdk-path)/bin:$PATH"` @@ -149,7 +149,7 @@ If you encounter build issues: - `.github/workflows/` - GitHub Actions CI/CD pipeline ### Important Files -- `flutter-version.txt` - Specifies required Flutter version (3.35.1) +- `flutter-version.txt` - Specifies required Flutter version (3.38.5) - `packages/smooth_app/pubspec.yaml` - Main app dependencies - `packages/smooth_app/lib/entrypoints/` - Platform-specific entry points - `packages/smooth_app/integration_test/` - End-to-end test scenarios @@ -240,4 +240,4 @@ The repository uses comprehensive CI/CD: - NEVER CANCEL long-running build operations - they are expected to take significant time - ALWAYS validate with the pre-commit steps before submitting changes - ALWAYS use the exact Flutter version specified in flutter-version.txt -- ALWAYS test your changes with real user scenarios, not just compilation \ No newline at end of file +- ALWAYS test your changes with real user scenarios, not just compilation diff --git a/README.md b/README.md index 1b9f5ca971..eef98f8a1d 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,11 @@ Full list of features on the wiki: https://wiki.openfoodfacts.org/Mobile_App/Fea ## 🚀 How to run the project - 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.38**. +- Currently, the app uses the following version of Flutter: **3.38.5**. - **Setting Up Your Environment with FVM** - To manage Flutter versions easily, download and install **FVM (Flutter Version Management)**: - Install FVM by following the [official FVM installation guide](https://fvm.app/documentation/getting-started/installation). - - Once FVM is installed, run the following commands to set Flutter to version 3.35.1: + - Once FVM is installed, run the following commands to set Flutter to version 3.38.5: ```bash fvm install 3.38.5 fvm use 3.38.5