diff options
author | Janak Amarasena <janakamarasena@gmail.com> | 2018-06-03 18:53:31 +0530 |
---|---|---|
committer | Janak Amarasena <janakamarasena@gmail.com> | 2018-06-03 18:53:31 +0530 |
commit | 0d73e7601979c0da3aae23d1961986d2f88316b1 (patch) | |
tree | 5651144724dddda895fe29b220ae966161d1490d /app/build.gradle | |
parent | 78155c90b53ea88a2c47c7f2d7915d4682d259e1 (diff) |
Added donation reminders
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle index 045aa8d0..09858cd2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,8 +12,20 @@ android { resValue "string", "app_name", "Bitmask" vectorDrawables.useSupportLibrary = true buildConfigField 'boolean', 'openvpn3', 'false' - //Build Config Feilds for default donation details - buildConfigField 'String', 'donation_url', '"https://leap.se/en/about-us/donate"' + + //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 |