summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-06-15 13:12:43 +0200
committercyBerta <cyberta@riseup.net>2018-06-15 13:12:43 +0200
commit767862ceb2b5408be1ee0da5219b0921a35cbf03 (patch)
treea2ceeb0299c1824339ec9b3b24586c7aff801cb2 /app/build.gradle
parent483d89f3599f06c19141c7817ada43ff2a33c461 (diff)
parentc58aaa2c475e2a1b76b7992bd14fba08fa8bdcd0 (diff)
Merge branch 'mirror_0xacab_master' into #8885_testing_ProviderManager
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 1ade8155..09858cd2 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -12,6 +12,20 @@ android {
resValue "string", "app_name", "Bitmask"
vectorDrawables.useSupportLibrary = true
buildConfigField 'boolean', 'openvpn3', 'false'
+
+ //Build Config Fields for default donation details
+
+ //This is the default donation URL and should be set to the donation page of LEAP
+ // and this should not be set/altered anywhere else.
+ buildConfigField 'String', 'default_donation_url', '"https://leap.se/en/about-us/donate"'
+ //This is the donation URL and should be set to the relevant donation page.
+ buildConfigField 'String', 'donation_url', 'null'
+ //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'
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
dexOptions {
jumboMode true