summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-05-30 23:45:34 +0200
committercyBerta <cyberta@riseup.net>2022-07-19 00:03:41 +0200
commit71d1c34319b703d909c882c24a436cd74ed42cc0 (patch)
treee72a48dadf7e3624b158976df69f76a8777dd398
parent778128e94fc3f6601986b5943122e499a318b8cd (diff)
implement a build time config variable to prefer obfsvpn lib over shapeshifter lib
-rw-r--r--app/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 5c804d75..f788f590 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -43,6 +43,8 @@ android {
buildConfigField 'boolean', 'allow_manual_gateway_selection', 'true'
// grey out background in EipFragment (main screen) if VPN is not running
buildConfigField 'boolean', 'use_color_filter', 'true'
+ // decide if we use obfsvpn or shapeshifter as obfs4 lib
+ buildConfigField 'boolean', 'use_obfsvpn', 'true'
// static update url pointing to the latest stable release apk
buildConfigField "String", "update_apk_url", '"https://dl.bitmask.net/client/android/Bitmask-Android-latest.apk"'
@@ -133,6 +135,8 @@ android {
buildConfigField 'boolean', 'allow_manual_gateway_selection', 'true'
// grey out background in EipFragment (main screen) if VPN is not running
buildConfigField 'boolean', 'use_color_filter', 'false'
+ // decide if we use obfsvpn or shapeshifter as obfs4 lib
+ buildConfigField 'boolean', 'use_obfsvpn', 'true'
//Build Config Fields for automatic apk update checks