π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Align mobile docs, CI, and the components catalog with the pub workspace
Manav Rathifbea68488168
diff --git a/.github/workflows/auth-build.yml b/.github/workflows/auth-build.ymlindex d79ef0782d..1f1c436088 100644--- a/.github/workflows/auth-build.yml+++ b/.github/workflows/auth-build.yml@@ -116,15 +116,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- name: Prepare whatsnewrun: |@@ -241,15 +236,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- name: Create artifacts directoryrun: mkdir artifacts@@ -357,16 +347,11 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionshell: bashrun: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- name: Create artifacts directoryrun: mkdir artifacts@@ -521,15 +506,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- name: Install code signing dependenciesrun: pip3 install codemagic-cli-tools --break-system-packages@@ -657,15 +637,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs auth set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- name: Install iOS podsrun: pod install --deploymentdiff --git a/.github/workflows/locker-build.yml b/.github/workflows/locker-build.ymlindex 3efd7e6130..b0535dbbb7 100644--- a/.github/workflows/locker-build.yml+++ b/.github/workflows/locker-build.yml@@ -115,15 +115,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs locker set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- run: cargo codegen frb sharedworking-directory: rust@@ -237,15 +232,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs locker set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- run: cargo codegen frb sharedworking-directory: rustdiff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.ymlindex 8a0c074e95..db0b1f47e1 100644--- a/.github/workflows/mobile-lint.yml+++ b/.github/workflows/mobile-lint.yml@@ -1,4 +1,4 @@-name: "Lint (Mobile)"+name: "Lint and test (Mobile)"on:pull_request:@@ -82,19 +82,17 @@ jobs:- run: cargo clippy -p ente_rust --features flutter --all-targets --locked -- -D warningsworking-directory: rust- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings+ - run: flutter pub get --enforce-lockfile+ working-directory: mobile- - name: Lint packages+ - name: Lint and test+ working-directory: mobilerun: |- for pubspec in mobile/packages/*/pubspec.yaml; do- package_dir=${pubspec%/pubspec.yaml}- package=${package_dir##*/}- echo "Linting $package"+ members=$(dart pub workspace list --json | jq -r '.packages[] | select(.name != "ente_workspace") | .path')+ for member in $members; do+ echo "Checking ${member#"$PWD/"}"(- cd "$package_dir"- flutter pub get --enforce-lockfile+ cd "$member"dart format --output=none --set-exit-if-changed .flutter analyzeif [[ -d test ]]; then@@ -102,19 +100,3 @@ jobs:fi)done-- - name: Lint apps- run: |- for app in photos auth locker; do- echo "Linting $app"- (- cd "mobile/apps/$app"- flutter pub get --enforce-lockfile- if [[ "$app" != "photos" ]]; then- flutter gen-l10n- fi- dart format --output=none --set-exit-if-changed .- flutter analyze- flutter test- )- donediff --git a/.github/workflows/mobile-podfile-lock.yml b/.github/workflows/mobile-podfile-lock.ymlindex 84e9e4b6b7..5d875cce50 100644--- a/.github/workflows/mobile-podfile-lock.yml+++ b/.github/workflows/mobile-podfile-lock.yml@@ -8,7 +8,6 @@ on:- ".github/workflows/mobile-podfile-lock.yml"- "mobile/**/pubspec.yaml"- "mobile/**/pubspec.lock"- - "mobile/**/pubspec_overrides.yaml"- "mobile/**/Podfile"- "mobile/**/Podfile.lock"- "mobile/**/*.podspec"@@ -31,13 +30,12 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter+ - run: flutter pub get --enforce-lockfile+ working-directory: mobile+- name: Verify Podfile.lock is currentrun: |for app in photos auth locker; doecho "Checking $app"- (- cd "mobile/apps/$app"- flutter pub get --enforce-lockfile- cd ios && pod install --deployment- )+ ( cd "mobile/apps/$app/ios" && pod install --deployment )donediff --git a/.github/workflows/photos-build.yml b/.github/workflows/photos-build.ymlindex b0e48009a1..26c1006303 100644--- a/.github/workflows/photos-build.yml+++ b/.github/workflows/photos-build.yml@@ -115,15 +115,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs photos set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- run: cargo codegen frbworking-directory: rust@@ -237,15 +232,10 @@ jobs:- name: Install Flutteruses: ./.github/actions/setup-flutter- - name: Generate strings localizations- run: flutter gen-l10n- working-directory: mobile/packages/strings-- name: Set build versionrun: node ../../../.github/scripts/flutter-version.mjs photos set-build "${RELEASE_VERSION}" "${BUILD_NUMBER}"- - name: Resolve dependencies with lockfile enforcement- run: flutter pub get --enforce-lockfile+ - run: flutter pub get --enforce-lockfile- name: Set up Rive iOS binariesrun: dart run rive_native:setup --clean --platform iosdiff --git a/docs/docs/self-hosting/development/building-from-source.md b/docs/docs/self-hosting/development/building-from-source.mdindex 57047a219f..da5c164e46 100644--- a/docs/docs/self-hosting/development/building-from-source.md+++ b/docs/docs/self-hosting/development/building-from-source.md@@ -223,16 +223,14 @@ cargo codegen frbFetch the dependencies:```sh-cd mobile/packages/strings-flutter pub get --enforce-lockfile--cd mobile/apps/photos+cd mobileflutter pub get --enforce-lockfile```That's about it. Now we can run the Photos iOS app in the iOS Simulator, asking it to connect to our local museum:```sh+cd mobile/apps/photosflutter run --dart-define 'endpoint=http://localhost:8080'```diff --git a/infra/ml/test/run_ml_parity_tests.sh b/infra/ml/test/run_ml_parity_tests.shindex 69b253fac6..44a6f4dd0b 100755--- a/infra/ml/test/run_ml_parity_tests.sh+++ b/infra/ml/test/run_ml_parity_tests.sh@@ -1518,12 +1518,13 @@ run_mobile_runner() {esacfi- local package_config_path="$mobile_dir/.dart_tool/package_config.json"+ local workspace_dir="$ROOT_DIR/mobile"+ local package_config_path="$workspace_dir/.dart_tool/package_config.json"local needs_pub_get=falseif [[ ! -f "$package_config_path" ]]; thenneeds_pub_get=trueelse- for dependency_file in "$mobile_dir/pubspec.yaml" "$mobile_dir/pubspec.lock" "$mobile_dir/pubspec_overrides.yaml"; do+ for dependency_file in "$mobile_dir/pubspec.yaml" "$workspace_dir/pubspec.yaml" "$workspace_dir/pubspec.lock"; doif [[ -f "$dependency_file" && "$dependency_file" -nt "$package_config_path" ]]; thenneeds_pub_get=truebreakdiff --git a/mobile/apps/auth/README.md b/mobile/apps/auth/README.mdindex bc486a18ce..36ab712e51 100644--- a/mobile/apps/auth/README.md+++ b/mobile/apps/auth/README.md@@ -40,8 +40,8 @@ You can view your 2FA codes at [auth.ente.com](https://auth.ente.com). For addin2. Pull in submodules with `git submodule update --init --recursive`3. Install dependencies using one of these methods:- - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies.- - **Using Flutter directly:** Run `flutter pub get --enforce-lockfile` in `packages/strings` and this folder.+ - **Using Flutter:** From any folder inside `mobile/`, run `flutter pub get --enforce-lockfile`.+ - **Using Melos:** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies.4. Run the app:- Android: `flutter run --flavor independent`diff --git a/mobile/apps/locker/CLAUDE.md b/mobile/apps/locker/CLAUDE.mdindex 87c1cf020a..be2e1ded99 100644--- a/mobile/apps/locker/CLAUDE.md+++ b/mobile/apps/locker/CLAUDE.md@@ -282,7 +282,7 @@ From README.md:## Common Gotchas-1. **Multiple Flutter apps in monorepo:** Always use `melos bootstrap` instead of `flutter pub get` to properly link local packages+1. **Pub workspace:** `mobile/` is a Dart pub workspace β running `flutter pub get` anywhere inside it resolves and links all local packages (`melos bootstrap` does the same, delegating to it)2. **Window management:** Desktop window initialization must happen before `runApp()` in `main.dart`3. **Trailing commas:** The linter is strict about this - always add them to avoid CI failures4. **Package imports:** Never use relative imports for files in other packages; always use `package:` syntaxdiff --git a/mobile/apps/locker/README.md b/mobile/apps/locker/README.mdindex 791d48c639..309ceec8ac 100644--- a/mobile/apps/locker/README.md+++ b/mobile/apps/locker/README.md@@ -7,8 +7,8 @@ Ente's secure document storage app. An end-to-end encrypted app for storing impo1. [Install Flutter v3.38.10](https://flutter.dev/docs/get-started/install).2. Install dependencies using one of these methods:- - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies.- - **Using Flutter directly:** Run `flutter pub get --enforce-lockfile` in `packages/strings` and this folder.+ - **Using Flutter:** From any folder inside `mobile/`, run `flutter pub get --enforce-lockfile`.+ - **Using Melos:** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies.3. Run the app:- Android: `flutter run --flavor independent`diff --git a/mobile/apps/photos/README.md b/mobile/apps/photos/README.mdindex 470e6e464c..49260f0844 100644--- a/mobile/apps/photos/README.md+++ b/mobile/apps/photos/README.md@@ -40,8 +40,8 @@ You can alternatively install the build from PlayStore or F-Droid.1. Install [Flutter v3.38.10](https://flutter.dev/docs/get-started/install) and [Rust](https://www.rust-lang.org/tools/install).2. Install dependencies and generate Rust bindings using one of these methods:- - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap` and `melos run codegen:rust`.- - **Using Flutter directly:** Run `flutter pub get --enforce-lockfile` in `packages/strings` and this folder, then from `rust/`, run `cargo codegen frb`.+ - **Using Flutter:** From any folder inside `mobile/`, run `flutter pub get --enforce-lockfile`, then from `rust/`, run `cargo codegen frb`.+ - **Using Melos:** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap` and `melos run codegen:rust`.3. Run the app:- Android: `flutter run --flavor independent`diff --git a/mobile/packages/ente_components/example/pubspec.lock b/mobile/packages/ente_components/example/pubspec.lockdeleted file mode 100644index 1d5510fab7..0000000000--- a/mobile/packages/ente_components/example/pubspec.lock+++ /dev/null@@ -1,316 +0,0 @@-# Generated by pub-# See https://dart.dev/tools/pub/glossary#lockfile-packages:- args:- dependency: transitive- description:- name: args- sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04- url: "https://pub.dev"- source: hosted- version: "2.7.0"- async:- dependency: transitive- description:- name: async- sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"- url: "https://pub.dev"- source: hosted- version: "2.13.0"- boolean_selector:- dependency: transitive- description:- name: boolean_selector- sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"- url: "https://pub.dev"- source: hosted- version: "2.1.2"- characters:- dependency: transitive- description:- name: characters- sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803- url: "https://pub.dev"- source: hosted- version: "1.4.0"- clock:- dependency: transitive- description:- name: clock- sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b- url: "https://pub.dev"- source: hosted- version: "1.1.2"- collection:- dependency: transitive- description:- name: collection- sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"- url: "https://pub.dev"- source: hosted- version: "1.19.1"- ente_components:- dependency: "direct main"- description:- path: ".."- relative: true- source: path- version: "0.1.0"- fake_async:- dependency: transitive- description:- name: fake_async- sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"- url: "https://pub.dev"- source: hosted- version: "1.3.3"- flutter:- dependency: "direct main"- description: flutter- source: sdk- version: "0.0.0"- flutter_lints:- dependency: "direct dev"- description:- name: flutter_lints- sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1"- url: "https://pub.dev"- source: hosted- version: "6.0.0"- flutter_svg:- dependency: transitive- description:- name: flutter_svg- sha256: "87fbd7c534435b6c5d9d98b01e1fd527812b82e68ddd8bd35fc45ed0fa8f0a95"- url: "https://pub.dev"- source: hosted- version: "2.2.3"- flutter_test:- dependency: "direct dev"- description: flutter- source: sdk- version: "0.0.0"- http:- dependency: transitive- description:- name: http- sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412"- url: "https://pub.dev"- source: hosted- version: "1.6.0"- http_parser:- dependency: transitive- description:- name: http_parser- sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571"- url: "https://pub.dev"- source: hosted- version: "4.1.2"- hugeicons:- dependency: "direct main"- description:- name: hugeicons- sha256: "5a4bb3f3e0a34df5ab8c41f43eb8c63382af8b3dcb8d63e8231b3d4dda3433e5"- url: "https://pub.dev"- source: hosted- version: "1.1.7"- leak_tracker:- dependency: transitive- description:- name: leak_tracker- sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"- url: "https://pub.dev"- source: hosted- version: "11.0.2"- leak_tracker_flutter_testing:- dependency: transitive- description:- name: leak_tracker_flutter_testing- sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"- url: "https://pub.dev"- source: hosted- version: "3.0.10"- leak_tracker_testing:- dependency: transitive- description:- name: leak_tracker_testing- sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"- url: "https://pub.dev"- source: hosted- version: "3.0.2"- lints:- dependency: transitive- description:- name: lints- sha256: "12f842a479589fea194fe5c5a3095abc7be0c1f2ddfa9a0e76aed1dbd26a87df"- url: "https://pub.dev"- source: hosted- version: "6.1.0"- matcher:- dependency: transitive- description:- name: matcher- sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2- url: "https://pub.dev"- source: hosted- version: "0.12.17"- material_color_utilities:- dependency: transitive- description:- name: material_color_utilities- sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec- url: "https://pub.dev"- source: hosted- version: "0.11.1"- meta:- dependency: transitive- description:- name: meta- sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"- url: "https://pub.dev"- source: hosted- version: "1.17.0"- path:- dependency: transitive- description:- name: path- sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"- url: "https://pub.dev"- source: hosted- version: "1.9.1"- path_parsing:- dependency: transitive- description:- name: path_parsing- sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca"- url: "https://pub.dev"- source: hosted- version: "1.1.0"- petitparser:- dependency: transitive- description:- name: petitparser- sha256: "91bd59303e9f769f108f8df05e371341b15d59e995e6806aefab827b58336675"- url: "https://pub.dev"- source: hosted- version: "7.0.2"- sky_engine:- dependency: transitive- description: flutter- source: sdk- version: "0.0.0"- source_span:- dependency: transitive- description:- name: source_span- sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"- url: "https://pub.dev"- source: hosted- version: "1.10.1"- stack_trace:- dependency: transitive- description:- name: stack_trace- sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"- url: "https://pub.dev"- source: hosted- version: "1.12.1"- stream_channel:- dependency: transitive- description:- name: stream_channel- sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"- url: "https://pub.dev"- source: hosted- version: "2.1.4"- string_scanner:- dependency: transitive- description:- name: string_scanner- sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"- url: "https://pub.dev"- source: hosted- version: "1.4.1"- term_glyph:- dependency: transitive- description:- name: term_glyph- sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"- url: "https://pub.dev"- source: hosted- version: "1.2.2"- test_api:- dependency: transitive- description:- name: test_api- sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55- url: "https://pub.dev"- source: hosted- version: "0.7.7"- typed_data:- dependency: transitive- description:- name: typed_data- sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006- url: "https://pub.dev"- source: hosted- version: "1.4.0"- vector_graphics:- dependency: transitive- description:- name: vector_graphics- sha256: a4f059dc26fc8295b5921376600a194c4ec7d55e72f2fe4c7d2831e103d461e6- url: "https://pub.dev"- source: hosted- version: "1.1.19"- vector_graphics_codec:- dependency: transitive- description:- name: vector_graphics_codec- sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146"- url: "https://pub.dev"- source: hosted- version: "1.1.13"- vector_graphics_compiler:- dependency: transitive- description:- name: vector_graphics_compiler- sha256: d354a7ec6931e6047785f4db12a1f61ec3d43b207fc0790f863818543f8ff0dc- url: "https://pub.dev"- source: hosted- version: "1.1.19"- vector_math:- dependency: transitive- description:- name: vector_math- sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b- url: "https://pub.dev"- source: hosted- version: "2.2.0"- vm_service:- dependency: transitive- description:- name: vm_service- sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02- url: "https://pub.dev"- source: hosted- version: "15.0.0"- web:- dependency: transitive- description:- name: web- sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a"- url: "https://pub.dev"- source: hosted- version: "1.1.1"- xml:- dependency: transitive- description:- name: xml- sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025"- url: "https://pub.dev"- source: hosted- version: "6.6.1"-sdks:- dart: ">=3.10.0 <4.0.0"- flutter: ">=3.32.0"diff --git a/mobile/packages/ente_components/example/pubspec.yaml b/mobile/packages/ente_components/example/pubspec.yamlindex 94d6c2b45b..31ee5aa2c1 100644--- a/mobile/packages/ente_components/example/pubspec.yaml+++ b/mobile/packages/ente_components/example/pubspec.yaml@@ -2,6 +2,7 @@ name: ente_components_catalogdescription: Visual catalog for the mobile component package.publish_to: none+resolution: workspaceenvironment:sdk: ">=3.10.0 <4.0.0"flutter: ">=3.32.0"diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yamlindex 0fc779bf33..5a9f1bee10 100644--- a/mobile/pubspec.yaml+++ b/mobile/pubspec.yaml@@ -18,6 +18,7 @@ workspace:- packages/configuration- packages/contacts- packages/ente_components+ - packages/ente_components/example- packages/ente_crypto_api- packages/ente_crypto_dart_adapter- packages/ente_icons