Skip to content

armgit / ente

Public Imported from GitHub
0

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

locker: prep F-Droid release

AmanRajSinghMouryab6c67ae13c79
diff --git a/mobile/apps/locker/README.md b/mobile/apps/locker/README.md
index 155ef82919..b98c65c266 100644
--- a/mobile/apps/locker/README.md
+++ b/mobile/apps/locker/README.md
@@ -12,10 +12,11 @@ important documents in the cloud with secure sharing capabilities.
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` in `packages/strings` and this folder
+ - Then generate localizations for the shared strings package by running `flutter gen-l10n` in `packages/strings` (these generated files are not committed).
-4. For Android, [setup your
- keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore)
- and run `flutter build apk --release --flavor independent`
+4. For Android:
+ - **F-Droid build:** Run `flutter build apk --release --flavor fdroid` (does not require a keystore; output is `build/app/outputs/flutter-apk/app-fdroid-release.apk`).
+ - **Independent build:** [setup your keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore) and run `flutter build apk --release --flavor independent`.
5. For iOS, run `flutter build ios`
diff --git a/mobile/apps/locker/android/app/build.gradle b/mobile/apps/locker/android/app/build.gradle
index c71b1597ab..1b5ad4b3a7 100644
--- a/mobile/apps/locker/android/app/build.gradle
+++ b/mobile/apps/locker/android/app/build.gradle
@@ -48,7 +48,9 @@ android {
buildTypes {
release {
- signingConfig = signingConfigs.release
+ if (signingConfigs.release.storeFile != null) {
+ signingConfig = signingConfigs.release
+ }
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
@@ -73,6 +75,14 @@ android {
applicationIdSuffix ".fdroid"
}
}
+
+ android.applicationVariants.all { variant ->
+ if (variant.flavorName == "fdroid") {
+ variant.outputs.all { output ->
+ output.outputFileName = "app-fdroid-release.apk"
+ }
+ }
+ }
}
flutter {
diff --git a/mobile/apps/locker/crowdin.yml b/mobile/apps/locker/crowdin.yml
index 8ff5fa691e..43c1bfe1cf 100644
--- a/mobile/apps/locker/crowdin.yml
+++ b/mobile/apps/locker/crowdin.yml
@@ -8,18 +8,8 @@ files:
type: arb
skip_untranslated_strings: true
skip_untranslated_files: false
- - source: /fastlane/metadata/playstore/en-US/*.txt
- translation: /fastlane/metadata/playstore/%two_letters_code%/%original_file_name%
- dest: /playstore/%original_file_name%
- type: txt
- skip_untranslated_files: true
- source: /fastlane/metadata/android/en-US/*.txt
translation: /fastlane/metadata/android/%two_letters_code%/%original_file_name%
dest: /fdroid/%original_file_name%
type: txt
skip_untranslated_files: true
- - source: /fastlane/metadata/ios/en-US/*.txt
- translation: /fastlane/metadata/ios/%two_letters_code%/%original_file_name%
- dest: /appstore/%original_file_name%
- type: txt
- skip_untranslated_files: true
diff --git a/mobile/apps/locker/fastlane/metadata/ios/en-US/description.txt b/mobile/apps/locker/fastlane/metadata/ios/en-US/description.txt
deleted file mode 100644
index a635f1e73d..0000000000
--- a/mobile/apps/locker/fastlane/metadata/ios/en-US/description.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Ente Locker is a simple app to securely store your important documents.
-
-If you've been looking for a privacy-friendly way to store sensitive documents like IDs, passports, certificates, and other files, you've come to the right place. With Ente Locker, they are stored end-to-end encrypted (e2ee). This means that only you can view them.
-
-We have open-source apps across Android, iOS, web and desktop, and your documents will seamlessly sync between all of them in an end-to-end encrypted (e2ee) manner.
-
-Ente Locker also makes it simple to share your collections with your loved ones. You can organize documents into collections and share them securely.
-
-Your encrypted data is replicated to 3 different locations, including a fall-out shelter in Paris. We take posterity seriously and make it easy to ensure that your documents are always safe and accessible.
-
-We are here to make the safest document storage app ever, come join our journey!
-
-FEATURES
-- End-to-end encrypted storage for all your documents
-- Organize documents into collections
-- Share collections securely with others
-- Cross-platform sync across Android, iOS, web and desktop
-- Original quality storage, no compression
-- Human support, because you're worth it
-
-PRICING
-We don't offer forever free plans, because it is important to us that we remain sustainable and withstand the test of time. Instead we offer affordable plans that you can freely share with your family. You can find more information at ente.io.
-
-SUPPORT
-We take pride in offering human support. If you are our paid customer, you can reach out to [email protected] and expect a response from our team within 24 hours.
-
-TERMS
-https://ente.io/terms
diff --git a/mobile/apps/locker/fastlane/metadata/ios/en-US/keywords.txt b/mobile/apps/locker/fastlane/metadata/ios/en-US/keywords.txt
deleted file mode 100644
index c099c0051c..0000000000
--- a/mobile/apps/locker/fastlane/metadata/ios/en-US/keywords.txt
+++ /dev/null
@@ -1 +0,0 @@
-documents,encryption,storage,privacy,secure,locker,vault,backup,files,certificate,passport,credentials
diff --git a/mobile/apps/locker/fastlane/metadata/ios/en-US/name.txt b/mobile/apps/locker/fastlane/metadata/ios/en-US/name.txt
deleted file mode 100644
index cdeae2d174..0000000000
--- a/mobile/apps/locker/fastlane/metadata/ios/en-US/name.txt
+++ /dev/null
@@ -1 +0,0 @@
-Ente Locker
diff --git a/mobile/apps/locker/fastlane/metadata/ios/en-US/subtitle.txt b/mobile/apps/locker/fastlane/metadata/ios/en-US/subtitle.txt
deleted file mode 100644
index ab6520860a..0000000000
--- a/mobile/apps/locker/fastlane/metadata/ios/en-US/subtitle.txt
+++ /dev/null
@@ -1 +0,0 @@
-Encrypted document storage
diff --git a/mobile/apps/locker/fastlane/metadata/playstore/en-US/changelogs/83.txt b/mobile/apps/locker/fastlane/metadata/playstore/en-US/changelogs/83.txt
deleted file mode 100644
index 28535aaabc..0000000000
--- a/mobile/apps/locker/fastlane/metadata/playstore/en-US/changelogs/83.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Initial F-Droid release of Ente Locker - end-to-end encrypted document storage.
-
-- Securely store important documents like IDs, passports, and certificates
-- Organize documents into collections
-- Share collections securely with others
-- Cross-platform sync across Android, iOS, web and desktop
diff --git a/mobile/apps/locker/fastlane/metadata/playstore/en-US/full_description.txt b/mobile/apps/locker/fastlane/metadata/playstore/en-US/full_description.txt
deleted file mode 100644
index fecc3d257a..0000000000
--- a/mobile/apps/locker/fastlane/metadata/playstore/en-US/full_description.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Ente Locker is a simple app to securely store your important documents.
-
-If you've been looking for a privacy-friendly way to store sensitive documents like IDs, passports, certificates, and other files, you've come to the right place. With Ente Locker, they are stored end-to-end encrypted (e2ee). This means that only you can view them.
-
-We have open-source apps across Android, iOS, web and desktop, and your documents will seamlessly sync between all of them in an end-to-end encrypted (e2ee) manner.
-
-Ente Locker also makes it simple to share your collections with your loved ones. You can organize documents into collections and share them securely.
-
-Your encrypted data is replicated to 3 different locations, including a fall-out shelter in Paris. We take posterity seriously and make it easy to ensure that your documents are always safe and accessible.
-
-We are here to make the safest document storage app ever, come join our journey!
-
-FEATURES
-- End-to-end encrypted storage for all your documents
-- Organize documents into collections
-- Share collections securely with others
-- Cross-platform sync across Android, iOS, web and desktop
-- Original quality storage, no compression
-- Human support, because you're worth it
-
-PRICING
-We don't offer forever free plans, because it is important to us that we remain sustainable and withstand the test of time. Instead we offer affordable plans that you can freely share with your family. You can find more information at ente.io.
-
-SUPPORT
-We take pride in offering human support. If you are our paid customer, you can reach out to [email protected] and expect a response from our team within 24 hours.
diff --git a/mobile/apps/locker/fastlane/metadata/playstore/en-US/short_description.txt b/mobile/apps/locker/fastlane/metadata/playstore/en-US/short_description.txt
deleted file mode 100644
index c2f80d271c..0000000000
--- a/mobile/apps/locker/fastlane/metadata/playstore/en-US/short_description.txt
+++ /dev/null
@@ -1 +0,0 @@
-Ente Locker is an end-to-end encrypted document storage app
diff --git a/mobile/apps/locker/fastlane/metadata/playstore/en-US/title.txt b/mobile/apps/locker/fastlane/metadata/playstore/en-US/title.txt
deleted file mode 100644
index 952bb98717..0000000000
--- a/mobile/apps/locker/fastlane/metadata/playstore/en-US/title.txt
+++ /dev/null
@@ -1 +0,0 @@
-Ente Locker - encrypted document storage