summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-06-26 19:41:04 +0200
committercyBerta <cyberta@riseup.net>2022-07-19 00:03:57 +0200
commit38e9d4afbd408b25d569e5c80cd0b288a28acd07 (patch)
tree54984ba28cbb38c09b6ddec99f04a525b936f7d9 /app/build.gradle
parentfece9e3133a39b885d014cabf62cd905b6667348 (diff)
add BuildConfig fields to hardcode a particular obfsvpn proxy
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle10
1 files changed, 10 insertions, 0 deletions
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