π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] drop redundant --target lib/main.dart refs
Manav Rathi65e0496d7167
diff --git a/mobile/apps/auth/README.md b/mobile/apps/auth/README.mdindex 980c948d47..1d48a17b0e 100644--- a/mobile/apps/auth/README.md+++ b/mobile/apps/auth/README.md@@ -53,7 +53,7 @@ or managing your secrets, please use our mobile or desktop app.- **Using Flutter directly:** Run `flutter pub get` in `packages/strings` and this folder4. Run the app:- - Android: `flutter run -t lib/main.dart --flavor independent`+ - Android: `flutter run --flavor independent`- iOS: `flutter run`To build a release APK, [setup your keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore) and run `flutter build apk --release --flavor independent`. For iOS, use `flutter build ios`.diff --git a/mobile/apps/auth/docs/vscode/launch.json b/mobile/apps/auth/docs/vscode/launch.jsonindex 1430e5bd9d..f735a6f7e0 100644--- a/mobile/apps/auth/docs/vscode/launch.json+++ b/mobile/apps/auth/docs/vscode/launch.json@@ -33,14 +33,14 @@"request": "launch","type": "dart","program": "mobile/apps/auth/lib/main.dart",- "args": ["--target", "lib/main.dart"]+ "args": []},{"name": "Auth Android Prod","request": "launch","type": "dart","program": "mobile/apps/auth/lib/main.dart",- "args": ["--target", "lib/main.dart", "--flavor", "independent"]+ "args": ["--flavor", "independent"]}]}diff --git a/mobile/apps/locker/README.md b/mobile/apps/locker/README.mdindex 3caed468a1..1a5d4e84c2 100644--- a/mobile/apps/locker/README.md+++ b/mobile/apps/locker/README.md@@ -12,7 +12,7 @@ important documents in the cloud with secure sharing capabilities.- **Using Flutter directly:** Run `flutter pub get` in `packages/strings` and this folder3. Run the app:- - Android: `flutter run -t lib/main.dart --flavor independent`+ - Android: `flutter run --flavor independent`- iOS: `flutter run`To build a release APK, [setup your keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore) and run `flutter build apk --release --flavor independent`. For iOS, use `flutter build ios`.diff --git a/mobile/apps/photos/AGENTS.md b/mobile/apps/photos/AGENTS.mdindex 5bd17e9b5c..894a747a72 100644--- a/mobile/apps/photos/AGENTS.md+++ b/mobile/apps/photos/AGENTS.md@@ -13,7 +13,7 @@`lib/` houses the Flutter client (`core/`, `services/`, `ui/`, `db/`). Tests live in `test/` (unit & widget) and `integration_test/`. Platform shells are `android/` and `ios/`; Rust crates and bridge helpers sit in `rust/` and `rust_builder/`. Assets, fonts, and localization configs are in `assets/`, `fonts/`, `l10n.yaml`, with generated code in `lib/generated/`. Automation scripts include `scripts/` and release tooling under `fastlane/`.## Build, Test & Development Commands-Run `flutter pub get` after dependency edits. Launch the app with `flutter run -t lib/main.dart --flavor independent`. Regenerate Rust bindings with `flutter_rust_bridge_codegen generate` before builds. Android releases rely on `flutter build apk --release --flavor independent`; for iOS run `cd ios && pod install` then `flutter build ios`.+Run `flutter pub get` after dependency edits. Launch the app with `flutter run --flavor independent`. Regenerate Rust bindings with `flutter_rust_bridge_codegen generate` before builds. Android releases rely on `flutter build apk --release --flavor independent`; for iOS run `cd ios && pod install` then `flutter build ios`.## Coding Style & Naming ConventionsUse 2-space indentation and format with `dart format .` (trailing commas preserved). `analysis_options.yaml` enforces rules such as `prefer_const_constructors`, `require_trailing_commas`, and `always_use_package_imports`. Keep files `snake_case.dart`, classes `PascalCase`, private members `_camelCase`. Avoid `print`; rely on the log utilities under `lib/core/`.diff --git a/mobile/apps/photos/CLAUDE.md b/mobile/apps/photos/CLAUDE.mdindex 45553cc4e8..f2c2043872 100644--- a/mobile/apps/photos/CLAUDE.md+++ b/mobile/apps/photos/CLAUDE.md@@ -79,7 +79,7 @@ melos clean:photos### Direct Flutter Commands```bash# Development run-flutter run -t lib/main.dart --flavor independent+flutter run --flavor independent# Build release APKflutter build apk --release --flavor independentdiff --git a/mobile/apps/photos/README.md b/mobile/apps/photos/README.mdindex b35c3d4624..eb21a49492 100644--- a/mobile/apps/photos/README.md+++ b/mobile/apps/photos/README.md@@ -53,7 +53,7 @@ You can alternatively install the build from PlayStore or F-Droid.- **Using Flutter directly:** Run `flutter pub get`, then install [Flutter Rust Bridge](https://cjycode.com/flutter_rust_bridge/) with `cargo install flutter_rust_bridge_codegen` and run `flutter_rust_bridge_codegen generate` in both this folder and in `mobile/packages/rust`.3. Run the app:- - Android: `flutter run -t lib/main.dart --flavor independent`+ - Android: `flutter run --flavor independent`- iOS: `flutter run`To build a release APK, [setup your keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore) and run `flutter build apk --release --flavor independent`. For iOS, use `flutter build ios`.diff --git a/mobile/melos.yaml b/mobile/melos.yamlindex 5ad76075a4..1c7e88e563 100644--- a/mobile/melos.yaml+++ b/mobile/melos.yaml@@ -76,15 +76,15 @@ scripts:run:photos:apk:- run: melos exec --scope="photos" -- "flutter run -t lib/main.dart --flavor independent"+ run: melos exec --scope="photos" -- "flutter run --flavor independent"description: Run the 'photos' app in independent mode.run:auth:apk:- run: melos exec --scope="auth" -- "flutter run -t lib/main.dart --flavor independent"+ run: melos exec --scope="auth" -- "flutter run --flavor independent"description: Run the 'auth' app in independent mode.run:locker:apk:- run: melos exec --scope="locker" -- "flutter run -t lib/main.dart --flavor independent"+ run: melos exec --scope="locker" -- "flutter run --flavor independent"description: Run the 'locker' app in independent mode.# --- APP-SPECIFIC BUILD COMMANDS ---@@ -108,4 +108,4 @@ scripts:clean:plugins:run: melos exec --depends-on="flutter" --scope="ente_*" -- "flutter clean"- description: Clean all plugin packages.\ No newline at end of file+ description: Clean all plugin packages.