From 4853d6a3d3d8c1077feb61899f6b07b5f528607c Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 18 May 2021 17:45:52 +0200 Subject: implement feature switch, so that gateway selection can be turned off on compile time, turned off for Bitmask for now --- app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/build.gradle') diff --git a/app/build.gradle b/app/build.gradle index e13fae73..76a34feb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -34,6 +34,8 @@ android { buildConfigField 'int', 'donation_reminder_duration', '30' //skip the account creation / login screen if the provider offers anonymous vpn usage, use directly the anonymous cert instead buildConfigField 'boolean', 'priotize_anonymous_usage', 'false' + //allow manual gateway selection + buildConfigField 'boolean', 'allow_manual_gateway_selection', 'false' // 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"' @@ -113,6 +115,8 @@ android { //skip the account creation / login screen if the provider offers anonymous vpn usage, use directly the anonymous cert instead buildConfigField 'boolean', 'priotize_anonymous_usage', 'true' + //allow manual gateway selection + buildConfigField 'boolean', 'allow_manual_gateway_selection', 'true' //Build Config Fields for automatic apk update checks -- cgit v1.2.3