summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2024-11-05 10:21:12 +0100
committercyberta <cyberta@riseup.net>2024-12-11 00:09:34 +0000
commit44b33d83bdb1f5670eb0eb2adb13695aa8388667 (patch)
tree8905e2903a652d485a2aea49b7d66629b3313da3
parentbe1751f1537e44463c2d031eaac3977e0152c5bf (diff)
add missing buildConfigField in build.gradle
-rw-r--r--app/build.gradle9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index cc903399..5a3f0551 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -43,6 +43,9 @@ android {
//Build Config Fields for default donation details
+ // preferred API version the client should client try in case the provider supports it
+ // If the provider doesn't the client falls back to lower available API versions
+ buildConfigField 'int', 'preferred_client_api_version', '5'
//This is the default donation URL and should be set to the donation page of LEAP
// and this should not be set/altered anywhere else.
buildConfigField 'String', 'default_donation_url', '"https://riseuplabs.org/leap"'
@@ -136,6 +139,10 @@ android {
//Change the versionName as needed
//versionName "0.9.9RC1"
+
+ // preferred API version the client should client try in case the provider supports it
+ // If the provider doesn't the client falls back to lower available API versions
+ buildConfigField 'int', 'preferred_client_api_version', '5'
//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
@@ -500,7 +507,7 @@ subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
- compileSdkVersion 33
+ compileSdkVersion 34
}
}
}