From 71d1c34319b703d909c882c24a436cd74ed42cc0 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 30 May 2022 23:45:34 +0200 Subject: implement a build time config variable to prefer obfsvpn lib over shapeshifter lib --- app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3