Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update build.gradle for release signing configuration and add product flavors; bump version in pubspec.yaml

AmanRajSinghMourya4694b01fe638
diff --git a/mobile/apps/locker/android/app/build.gradle b/mobile/apps/locker/android/app/build.gradle
index ea18f8c99d..1f53f4279b 100644
--- a/mobile/apps/locker/android/app/build.gradle
+++ b/mobile/apps/locker/android/app/build.gradle
@@ -48,7 +48,26 @@ android {
buildTypes {
release {
- signingConfig = signingConfigs.debug
+ signingConfig = signingConfigs.release
+ }
+ }
+
+ flavorDimensions "default"
+ productFlavors {
+ independent {
+ dimension "default"
+ applicationIdSuffix ".independent"
+ }
+ dev {
+ dimension "default"
+ applicationIdSuffix ".dev"
+ }
+ playstore {
+ dimension "default"
+ }
+ fdroid {
+ dimension "default"
+ applicationIdSuffix ".fdroid"
}
}
}
diff --git a/mobile/apps/locker/pubspec.yaml b/mobile/apps/locker/pubspec.yaml
index a4155a3ce5..5e9614bcb5 100644
--- a/mobile/apps/locker/pubspec.yaml
+++ b/mobile/apps/locker/pubspec.yaml
@@ -1,8 +1,7 @@
name: locker
description: "Ente Locker – Safe space for your important documents"
publish_to: "none"
-version: 0.1.0
-
+version: 0.1.1+2
environment:
sdk: ">=3.0.0 <4.0.0"