Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Clean up mobile app docs and remove stale auth coverage artifact

Manav Rathi5965aac83872
diff --git a/mobile/apps/auth/README.md b/mobile/apps/auth/README.md
index a3ca1c8aeb..5780da5b10 100644
--- a/mobile/apps/auth/README.md
+++ b/mobile/apps/auth/README.md
@@ -5,7 +5,7 @@ storing your 2FA codes with cloud backups. Works offline. You can even use it
without signing up for an account if you don't want the cloud backups or
multi-device sync.
-![App Screenshots](./screenshots/screenshots.png)
+![App Screenshots](./docs/assets/screenshots.png)
## πŸ“² Download
@@ -46,7 +46,7 @@ or managing your secrets, please use our mobile or desktop app.
1. [Install Flutter v3.32.8](https://flutter.dev/docs/get-started/install).
-2. Pull in all submodules with `git submodule update --init --recursive`
+2. 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.
@@ -68,9 +68,6 @@ flutter run -t lib/main.dart --flavor independent
For iOS, use `flutter run`
-VSCode users might find it useful to copy [docs/vscode](docs/vscode) into a top
-level `.vscode`.
-
If the code you're working needs to modify user facing strings, see
[docs/localization](docs/localization.md).
@@ -102,7 +99,7 @@ more, see [docs/adding-icons](docs/adding-icons.md).
The best way to support this project is by checking out [Ente
Photos](../mobile/README.md) or spreading the word.
-For more ways to contribute, see [../../../CONTRIBUTING.md](../../../CONTRIBUTING.md).
+For more ways to contribute, see [CONTRIBUTING.md](../../../CONTRIBUTING.md).
## ⭐️ About
diff --git a/mobile/apps/auth/coverage/lcov.info b/mobile/apps/auth/coverage/lcov.info
deleted file mode 100644
index 26259226ab..0000000000
--- a/mobile/apps/auth/coverage/lcov.info
+++ /dev/null
@@ -1,73 +0,0 @@
-SF:lib/app/view/app.dart
-DA:7,1
-DA:9,1
-DA:11,1
-DA:12,1
-DA:14,1
-LF:5
-LH:5
-end_of_record
-SF:lib/l10n/l10n.dart
-DA:7,2
-LF:1
-LH:1
-end_of_record
-SF:lib/counter/cubit/counter_cubit.dart
-DA:4,2
-DA:6,0
-DA:8,0
-LF:3
-LH:1
-end_of_record
-SF:lib/counter/view/counter_page.dart
-DA:7,1
-DA:9,1
-DA:11,1
-DA:12,2
-DA:19,1
-DA:21,1
-DA:23,1
-DA:24,1
-DA:25,3
-DA:27,1
-DA:30,1
-DA:31,1
-DA:32,0
-DA:36,1
-DA:37,0
-DA:47,1
-DA:49,1
-DA:51,1
-DA:52,3
-DA:53,4
-LF:20
-LH:18
-end_of_record
-SF:lib/main.dart
-DA:3,0
-DA:4,0
-DA:8,2
-DA:11,1
-DA:13,1
-DA:15,1
-DA:33,1
-DA:46,1
-DA:47,1
-DA:53,1
-DA:54,2
-DA:60,2
-DA:64,1
-DA:72,1
-DA:73,1
-DA:76,3
-DA:78,1
-DA:81,1
-DA:97,1
-DA:101,1
-DA:102,2
-DA:103,3
-DA:108,1
-DA:109,1
-LF:24
-LH:22
-end_of_record
diff --git a/mobile/apps/auth/docs/README.md b/mobile/apps/auth/docs/README.md
index 67208c4a68..b387c9e80c 100644
--- a/mobile/apps/auth/docs/README.md
+++ b/mobile/apps/auth/docs/README.md
@@ -2,11 +2,6 @@
Documentation and notes about more advanced or infrequently needed details.
-### Running
+### VS Code
-If you're using VSCode, you can setup the launch configuration by copying the
-template into your `.vscode` folder at the root of the project.
-
-```bash
-cp auth/docs/vscode/launch.json .vscode/
-```
\ No newline at end of file
+The [vscode](vscode) folder contains template launch configuration. Copy into a top-level `.vscode` to use them.
diff --git a/mobile/apps/auth/screenshots/screenshots.png b/mobile/apps/auth/docs/assets/screenshots.png
similarity index 100%
rename from mobile/apps/auth/screenshots/screenshots.png
rename to mobile/apps/auth/docs/assets/screenshots.png
diff --git a/mobile/apps/auth/docs/vscode/extensions.json b/mobile/apps/auth/docs/vscode/extensions.json
index e8e851920a..04f5390169 100644
--- a/mobile/apps/auth/docs/vscode/extensions.json
+++ b/mobile/apps/auth/docs/vscode/extensions.json
@@ -1,9 +1,6 @@
{
- // See https://go.microsoft.com/fwlink/?LinkId=827846
- // for the documentation about the extensions.json format
"recommendations": [
"dart-code.dart-code",
- "dart-code.flutter",
- "felixangelov.bloc"
+ "dart-code.flutter"
]
-}
+}
\ No newline at end of file
diff --git a/mobile/apps/photos/README.md b/mobile/apps/photos/README.md
index 20f7a4c0bd..7629fbca2f 100644
--- a/mobile/apps/photos/README.md
+++ b/mobile/apps/photos/README.md
@@ -13,11 +13,11 @@ commit](https://github.com/ente-io/ente/commit/a8cdc811fd20ca4289d8e779c97f08ef5
To know more about Ente, see [our main README](../../../README.md) or visit
[ente.com](https://ente.com).
-To use Ente Photos on the web, see [../../../web](../../../web/README.md). To use Ente
-Photos on the desktop, see [../../../desktop](../../../desktop/README.md). There is a also a
+To use Ente Photos on the web, see [web](../../../web/README.md). To use Ente
+Photos on the desktop, see [desktop](../../../desktop/README.md). There is a also a
[CLI tool](../../../cli/README.md) for easy / automated exports.
-If you're looking for Ente Auth instead, see [../auth](../auth/README.md).
+If you're looking for Ente Auth instead, see [auth](../auth/README.md).
## πŸ“² Installation
@@ -52,20 +52,19 @@ You can alternatively install the build from PlayStore or F-Droid.
- **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos run codegen:rust`. This will install dependencies and generate Rust bindings.
- **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. On Android:
+3. On Android, [setup your keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore) and run `flutter build apk --release --flavor independent`
- - For development, run `flutter run -t lib/main.dart --flavor independent`
+4. For iOS, run `flutter build ios`
- - For building APK, [setup your
- keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore)
- and run `flutter build apk --release --flavor independent`
+## βš™οΈ Develop
-4. For iOS, run `flutter build ios`
+For Android, use
-Some common issues and troubleshooting tips are in [docs/dev](docs/dev.md).
+```sh
+flutter run -t lib/main.dart --flavor independent
+```
-VSCode users might find it useful to copy [docs/vscode](docs/vscode) into a top
-level `.vscode`.
+For iOS, use `flutter run`
## πŸ“ Localization
@@ -96,4 +95,4 @@ to have it added.
## πŸ’š Contribute
-For more ways to contribute, see [../../../CONTRIBUTING.md](../../../CONTRIBUTING.md).
+For more ways to contribute, see [CONTRIBUTING.md](../../../CONTRIBUTING.md).
diff --git a/mobile/apps/photos/docs/README.md b/mobile/apps/photos/docs/README.md
index e23c7e5b56..b387c9e80c 100644
--- a/mobile/apps/photos/docs/README.md
+++ b/mobile/apps/photos/docs/README.md
@@ -1,3 +1,7 @@
## Developer docs
Documentation and notes about more advanced or infrequently needed details.
+
+### VS Code
+
+The [vscode](vscode) folder contains template launch configuration. Copy into a top-level `.vscode` to use them.
diff --git a/mobile/apps/photos/docs/dev.md b/mobile/apps/photos/docs/dev.md
deleted file mode 100644
index 53a7c25ad6..0000000000
--- a/mobile/apps/photos/docs/dev.md
+++ /dev/null
@@ -1,15 +0,0 @@
-## Developer docs
-
-### iOS
-
-```sh
-sudo gem install cocoapods
-cd ios && pod install && cd ..
-```
-
-#### iOS Simulator missing in flutter devices
-
-```sh
-sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
-sudo xcodebuild -runFirstLaunch
-```
\ No newline at end of file
diff --git a/mobile/apps/photos/docs/vscode/launch.json b/mobile/apps/photos/docs/vscode/launch.json
index 80d910083b..d67a9a112c 100644
--- a/mobile/apps/photos/docs/vscode/launch.json
+++ b/mobile/apps/photos/docs/vscode/launch.json
@@ -1,7 +1,4 @@
{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{