2014-03-23 00:20:13 +01:00
|
|
|
/*
|
2019-01-23 18:03:33 +01:00
|
|
|
* This is the source code of Telegram for Android v. 5.x.x.
|
2014-03-23 00:20:13 +01:00
|
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
|
|
*
|
2019-01-23 18:03:33 +01:00
|
|
|
* Copyright Nikolai Kudashov, 2013-2018.
|
2014-03-23 00:20:13 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
package org.telegram.messenger;
|
|
|
|
|
2018-07-30 04:07:02 +02:00
|
|
|
import android.content.Context;
|
|
|
|
import android.content.SharedPreferences;
|
|
|
|
|
2014-03-23 00:20:13 +01:00
|
|
|
public class BuildVars {
|
2018-07-30 04:07:02 +02:00
|
|
|
|
2014-10-07 22:14:27 +02:00
|
|
|
public static boolean DEBUG_VERSION = false;
|
2017-03-31 01:58:05 +02:00
|
|
|
public static boolean DEBUG_PRIVATE_VERSION = false;
|
2018-07-30 04:07:02 +02:00
|
|
|
public static boolean LOGS_ENABLED = false;
|
2019-01-23 18:03:33 +01:00
|
|
|
public static boolean USE_CLOUD_STRINGS = true;
|
2019-12-31 14:08:08 +01:00
|
|
|
public static boolean CHECK_UPDATES = true;
|
|
|
|
public static boolean TON_WALLET_STANDALONE = false;
|
2020-06-04 18:47:15 +02:00
|
|
|
public static int BUILD_VERSION = 1984;
|
|
|
|
public static String BUILD_VERSION_STRING = "6.2.0";
|
2019-12-31 14:08:08 +01:00
|
|
|
public static int APP_ID = 4;
|
|
|
|
public static String APP_HASH = "014b35b6184100b085b0d0572f9b5103";
|
2020-03-30 14:00:09 +02:00
|
|
|
public static String APPCENTER_HASH = "a5b5c4f5-51da-dedc-9918-d9766a22ca7c";
|
|
|
|
public static String APPCENTER_HASH_DEBUG = "f9726602-67c9-48d2-b5d0-4761f1c1a8f3";
|
2019-12-31 14:08:08 +01:00
|
|
|
//
|
|
|
|
public static String SMS_HASH = DEBUG_VERSION ? "O2P2z+/jBpJ" : "oLeq9AcOZkT";
|
|
|
|
public static String PLAYSTORE_APP_URL = "https://play.google.com/store/apps/details?id=org.telegram.messenger";
|
2018-07-30 04:07:02 +02:00
|
|
|
|
|
|
|
static {
|
|
|
|
if (ApplicationLoader.applicationContext != null) {
|
|
|
|
SharedPreferences sharedPreferences = ApplicationLoader.applicationContext.getSharedPreferences("systemConfig", Context.MODE_PRIVATE);
|
|
|
|
LOGS_ENABLED = sharedPreferences.getBoolean("logsEnabled", DEBUG_VERSION);
|
|
|
|
}
|
|
|
|
}
|
2014-03-23 00:20:13 +01:00
|
|
|
}
|