From 38e9d4afbd408b25d569e5c80cd0b288a28acd07 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sun, 26 Jun 2022 19:41:04 +0200 Subject: add BuildConfig fields to hardcode a particular obfsvpn proxy --- app/build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index f788f590..73dfcc0c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,6 +45,11 @@ android { buildConfigField 'boolean', 'use_color_filter', 'true' // decide if we use obfsvpn or shapeshifter as obfs4 lib buildConfigField 'boolean', 'use_obfsvpn', 'true' + // obfsvpn Debugging config fields to pin and configure a particular proxy + buildConfigField 'boolean', 'obfsvpn_pinning', 'false' + buildConfigField "String", "obfsvpn_port", '""' + buildConfigField "String", "obfsvpn_ip", '""' + buildConfigField "String", "obfsvpn_cert", '""' // 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"' @@ -137,6 +142,11 @@ android { buildConfigField 'boolean', 'use_color_filter', 'false' // decide if we use obfsvpn or shapeshifter as obfs4 lib buildConfigField 'boolean', 'use_obfsvpn', 'true' + // obfsvpn Debugging config fields to pin and configure a particular proxy + buildConfigField 'boolean', 'obfsvpn_pinning', 'false' + buildConfigField "String", "obfsvpn_port", '""' + buildConfigField "String", "obfsvpn_ip", '""' + buildConfigField "String", "obfsvpn_cert", '""' //Build Config Fields for automatic apk update checks -- cgit v1.2.3