π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile] Upgrade Flutter to 3.47.8 (#14084)
Jayf94e7a33a3b6
diff --git a/.github/actions/setup-flutter/action.yml b/.github/actions/setup-flutter/action.ymlindex 2303633f73..705ec16380 100644--- a/.github/actions/setup-flutter/action.yml+++ b/.github/actions/setup-flutter/action.yml@@ -16,7 +16,7 @@ runs:# https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json# https://storage.googleapis.com/flutter_infra_release/releases/releases_macos.json# https://storage.googleapis.com/flutter_infra_release/releases/releases_windows.json- FLUTTER_VERSION: 3.47.2+ FLUTTER_VERSION: 3.47.8CACHE_HIT: ${{ steps.cache.outputs.cache-hit }}run: |set -euo pipefail@@ -28,19 +28,19 @@ runs:case "$RUNNER_OS-$RUNNER_ARCH" inLinux-X64)archive="stable/linux/flutter_linux_${FLUTTER_VERSION}-stable.tar.xz"- archive_sha256="447878859d01ca9bfdb99a85f245af07ed8a15fedcd9d189c4749e8e92d1f185"+ archive_sha256="baf7dcc5a3dbba60fe863bf493a6cf203195621f7786eaa5a1bba02cd0d87dd2";;macOS-X64)archive="stable/macos/flutter_macos_${FLUTTER_VERSION}-stable.zip"- archive_sha256="b6fd6ba98c8503d5ee06a6670627b5b1c36167ece3427435ec83b66e9b28c6b5"+ archive_sha256="b8a3c255a51a8c0c0943a4d5bdf9b26008c34f02febf69640c8aab413afd896f";;macOS-ARM64)archive="stable/macos/flutter_macos_arm64_${FLUTTER_VERSION}-stable.zip"- archive_sha256="f456fd6733053d9301828a2e702d6cbec872923126809aa8c48eb0a696d6cc01"+ archive_sha256="6114edc2dae3636cfefb7e4456a4510399ee856e324149b34dbacb509e329d05";;Windows-X64)archive="stable/windows/flutter_windows_${FLUTTER_VERSION}-stable.zip"- archive_sha256="37934f2128a55d77a38baba12fd611157ed23a47bf7d2b7d17e9e84da118409d"+ archive_sha256="11e19ea3409808fe3b3765ea8149640c299e58cce6eda7c9f38fc1b4a193eb6e";;*) echo "Unsupported runner: $RUNNER_OS-$RUNNER_ARCH" >&2; exit 1 ;;esacdiff --git a/docs/docs/self-hosting/development/building-from-source.md b/docs/docs/self-hosting/development/building-from-source.mdindex 0d6f8baa91..a9cd84e5e9 100644--- a/docs/docs/self-hosting/development/building-from-source.md+++ b/docs/docs/self-hosting/development/building-from-source.md@@ -61,13 +61,13 @@ Flutter can be [installed](https://flutter.dev/docs/get-started/install) in many> [!NOTE]>-> Unlike the other toolchains where any recent version would do, we pin fiddly Flutter to the [version CI uses](https://github.com/ente/ente/blob/main/.github/actions/setup-flutter/action.yml). At the time of writing, it was 3.47.2.+> Unlike the other toolchains where any recent version would do, we pin fiddly Flutter to the [version CI uses](https://github.com/ente/ente/blob/main/.github/actions/setup-flutter/action.yml). At the time of writing, it was 3.47.8.```shmkdir -p ~/.local/sharecd ~/.local/share-curl -LO https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.47.2-stable.zip-unzip -q flutter_macos_arm64_3.47.2-stable.zip+curl -LO https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.47.8-stable.zip+unzip -q flutter_macos_arm64_3.47.8-stable.zip# Also added this to my ~/.zprofileexport PATH="$HOME/.local/share/flutter/bin:$PATH"@@ -82,7 +82,7 @@ Then run `flutter doctor`. It'll tell us that Android is missing; we'll come to> ```sh> cd ~/.local/share/flutter> git fetch origin --tags-> git switch --detach 3.47.2+> git switch --detach 3.47.8> flutter --version> flutter doctor> ```diff --git a/mobile/apps/auth/README.md b/mobile/apps/auth/README.mdindex e2add764ed..aeb1f97489 100644--- a/mobile/apps/auth/README.md+++ b/mobile/apps/auth/README.md@@ -35,7 +35,7 @@ You can view your 2FA codes at [auth.ente.com](https://auth.ente.com). For addin## π§βπ» Build from source-1. [Install Flutter v3.47.2](https://flutter.dev/docs/get-started/install).+1. [Install Flutter v3.47.8](https://flutter.dev/docs/get-started/install).2. Pull in submodules with `git submodule update --init --recursive`diff --git a/mobile/apps/locker/README.md b/mobile/apps/locker/README.mdindex e1652fd6c9..406e076257 100644--- a/mobile/apps/locker/README.md+++ b/mobile/apps/locker/README.md@@ -4,7 +4,7 @@ Ente's secure document storage app. An end-to-end encrypted app for storing impo## π§βπ» Build from source-1. Install [Flutter v3.47.2](https://flutter.dev/docs/get-started/install) and [Rust](https://www.rust-lang.org/tools/install).+1. Install [Flutter v3.47.8](https://flutter.dev/docs/get-started/install) and [Rust](https://www.rust-lang.org/tools/install).2. From any folder inside `mobile/`, install the workspace dependencies with `flutter pub get --enforce-lockfile`. Then, from `rust/`, generate the Rust bindings with `cargo codegen frb`.diff --git a/mobile/apps/photos/README.md b/mobile/apps/photos/README.mdindex 4b626f516d..c9fdcaa8dd 100644--- a/mobile/apps/photos/README.md+++ b/mobile/apps/photos/README.md@@ -37,7 +37,7 @@ You can alternatively install the build from PlayStore or F-Droid.## π§βπ» Building from source-1. Install [Flutter v3.47.2](https://flutter.dev/docs/get-started/install) and [Rust](https://www.rust-lang.org/tools/install).+1. Install [Flutter v3.47.8](https://flutter.dev/docs/get-started/install) and [Rust](https://www.rust-lang.org/tools/install).2. From any folder inside `mobile/`, install the workspace dependencies with `flutter pub get --enforce-lockfile`. Then, from `rust/`, generate the Rust bindings with `cargo codegen frb`.