summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle20
1 files changed, 19 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 09858cd2..fea71f6e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -42,7 +42,7 @@ android {
}
}
- flavorDimensions "implementation"
+ flavorDimensions "mode","implementation"
productFlavors {
production {
dimension "implementation"
@@ -50,6 +50,24 @@ android {
insecure {
dimension "implementation"
}
+ dafualt {
+ dimension "mode"
+ }
+ custom {
+ dimension "mode"
+
+ //Build Config Fields for default donation details
+
+ //This is the donation URL and should be set to the relevant donation page.
+ buildConfigField 'String', 'donation_url', '"https://leap.se/en/about-us/donate"'
+ //The field to enable donations in the app.
+ buildConfigField 'boolean', 'enable_donation', 'true'
+ //The field to enable donation reminder popup in the app if enable_donation is set to 'false' this will be disabled.
+ buildConfigField 'boolean', 'enable_donation_reminder', 'true'
+ //The duration in days to trigger the donation reminder
+ buildConfigField 'int', 'donation_reminder_duration', '30'
+
+ }
}
buildTypes {