From 7c8bcb7efe39ce62fb19f90ad5c758d522be64a0 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 11 Nov 2022 01:35:02 +0100 Subject: add BuildConfig field to set motd url in custom branded clients --- 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 239190fd..1e17f01d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -68,6 +68,7 @@ android { buildConfigField "String", "customProviderIp", '""' buildConfigField "String", "customProviderApiIp", '""' buildConfigField "String", "geoipUrl", '""' + buildConfigField "String", "customProviderMotdUrl", '""' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" dexOptions { @@ -133,6 +134,9 @@ android { buildConfigField "String", "customProviderApiIp", customProviderApiIp def geoipUrl = '"https://api.black.riseup.net:9001/json"' buildConfigField "String", "geoipUrl", geoipUrl + //URL for the message of the day, see https://0xacab.org/leap/motd#motd-message-of-the-day + def customProviderMotdUrl = '"https://static.riseup.net/vpn/motd.json"' + buildConfigField "String", "customProviderMotdUrl", customProviderMotdUrl //Change the versionCode as needed //versionCode 1 //Change the versionName as needed -- cgit v1.2.3