feat: rebranding
No files matched your search
@@ -1,17 +1,18 @@
|
||||
<div align="center">
|
||||
|
||||
[](https://github.com/samosvalishe/free-turn-proxy)
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
</div>
|
||||
|
||||

|
||||

|
||||
|
||||
> **Disclaimer.** Проект предназначен **исключительно для образовательных и исследовательских целей.**
|
||||
|
||||
> **Важно:** При обновлении до версии 3.0.0 все настройки будут сброшены.
|
||||
> [!WARNING]
|
||||
> **Переход на версию 5 требует настройки приложения с нуля.** Перед обновлением сохраните данные доступа к своему VPS и параметры подключения. После обновления заново добавьте сервер или импортируйте новую ссылку на вкладке "Соединение" (+), затем проверьте параметры VPN и раздельного туннелирования. При первом запуске v5 после обновления приложение покажет однократное предупреждение.
|
||||
|
||||
## Возможности
|
||||
|
||||
@@ -19,8 +20,10 @@
|
||||
- **Клонирование конфигурации серверов**
|
||||
- **Быстрая установка на VPS**
|
||||
- **Возможность делиться конфигами**
|
||||
- **Режим работы прокси / VPN** (WireGuard)
|
||||
- **UDP-релей до TURN** - бэкенд на сервере только UDP (WireGuard / AmneziaWG)
|
||||
- **Встроенный VPN** (WireGuard / AmneziaWG) без отдельного VPN-клиента
|
||||
- **Локальный прокси** для внешнего клиента
|
||||
- **Relay / Direct** - подключение через TURN или напрямую
|
||||
- **Импорт подключения** по ссылке или QR-коду
|
||||
- **Бэкапы**
|
||||
- **Раздельное туннелирование**
|
||||
|
||||
@@ -29,7 +32,7 @@
|
||||
- **Android 7.0+** (API 24)
|
||||
- **Архитектура процессора:** `arm64-v8a` или `armeabi-v7a`
|
||||
- **VPS**
|
||||
- **Ссылка на звонок**
|
||||
- **Ссылка на звонок** для режима Relay; для Direct не требуется
|
||||
|
||||
## Благодарности
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ android {
|
||||
buildFeatures {
|
||||
compose = true
|
||||
resValues = true
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<service
|
||||
android:name=".service.ProxyTileService"
|
||||
android:exported="true"
|
||||
android:icon="@drawable/ic_qs_tile_nearby"
|
||||
android:icon="@drawable/ic_freeturn"
|
||||
android:label="@string/tile_service_label"
|
||||
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
||||
<intent-filter>
|
||||
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 24 KiB |
@@ -5,6 +5,7 @@ import androidx.datastore.core.DataStore
|
||||
import androidx.datastore.core.handlers.ReplaceFileCorruptionHandler
|
||||
import androidx.datastore.preferences.core.*
|
||||
import androidx.datastore.preferences.preferencesDataStore
|
||||
import com.freeturn.app.BuildConfig
|
||||
import com.freeturn.app.R
|
||||
import com.freeturn.app.data.backup.BackupData
|
||||
import com.freeturn.app.data.config.ClientConfig
|
||||
@@ -39,6 +40,9 @@ class AppPreferences(context: Context) {
|
||||
private val context = context.applicationContext
|
||||
|
||||
companion object {
|
||||
// 5.0.0 по схеме versionCode (M*10000+m*100+p).
|
||||
private const val V5_VERSION_CODE = 50000
|
||||
private val V5_SETUP_NOTICE_PENDING = booleanPreferencesKey("v5_setup_notice_pending")
|
||||
val DYNAMIC_THEME = booleanPreferencesKey("dynamic_theme")
|
||||
val NERD_MODE = booleanPreferencesKey("nerd_mode")
|
||||
val PRIVACY_MODE = booleanPreferencesKey("privacy_mode")
|
||||
@@ -76,6 +80,28 @@ class AppPreferences(context: Context) {
|
||||
unclean
|
||||
}
|
||||
|
||||
suspend fun v5SetupNoticePending(): Boolean {
|
||||
if (BuildConfig.VERSION_CODE < V5_VERSION_CODE) return false
|
||||
var pending = false
|
||||
context.dataStore.edit { prefs ->
|
||||
pending = prefs[V5_SETUP_NOTICE_PENDING]
|
||||
?: ServerJson.decodeList(prefs[SERVERS_JSON]).isNotEmpty()
|
||||
prefs[V5_SETUP_NOTICE_PENDING] = pending
|
||||
}
|
||||
return pending
|
||||
}
|
||||
|
||||
suspend fun acknowledgeV5SetupNotice() {
|
||||
context.dataStore.edit { it[V5_SETUP_NOTICE_PENDING] = false }
|
||||
}
|
||||
|
||||
private fun MutablePreferences.clearProfile() {
|
||||
val noticePending = this[V5_SETUP_NOTICE_PENDING]
|
||||
clear()
|
||||
// Сброс профиля и импорт бэкапа не повторяют уведомление об обновлении.
|
||||
noticePending?.let { this[V5_SETUP_NOTICE_PENDING] = it }
|
||||
}
|
||||
|
||||
suspend fun previousSessionUnclean(): Boolean = previousUncleanExit.await()
|
||||
|
||||
suspend fun reportedProcessExits(): Set<String> =
|
||||
@@ -345,7 +371,7 @@ class AppPreferences(context: Context) {
|
||||
}
|
||||
|
||||
suspend fun resetAll() {
|
||||
context.dataStore.edit { it.clear() }
|
||||
context.dataStore.edit { it.clearProfile() }
|
||||
}
|
||||
|
||||
suspend fun exportData(): BackupData {
|
||||
@@ -377,7 +403,7 @@ class AppPreferences(context: Context) {
|
||||
*/
|
||||
suspend fun restoreBackup(data: BackupData): Int {
|
||||
context.dataStore.edit { prefs ->
|
||||
prefs.clear()
|
||||
prefs.clearProfile()
|
||||
prefs[SERVERS_JSON] = ServerJson.encodeList(data.servers)
|
||||
val active = data.activeId?.takeIf { id -> data.servers.any { it.id == id } }
|
||||
?: data.servers.firstOrNull()?.id
|
||||
|
||||
@@ -107,7 +107,7 @@ class ProxyNotifier(private val service: Service) {
|
||||
return NotificationCompat.Builder(service, CHANNEL_PROXY)
|
||||
.setContentTitle(title)
|
||||
.setContentText(details)
|
||||
.setSmallIcon(R.drawable.ic_qs_tile_nearby)
|
||||
.setSmallIcon(R.drawable.ic_freeturn)
|
||||
.setOngoing(true)
|
||||
.setContentIntent(openApp)
|
||||
.addAction(0, service.getString(R.string.notif_proxy_stop_action), stopAction)
|
||||
|
||||
@@ -75,7 +75,7 @@ class ProxyTileService : TileService(), KoinComponent {
|
||||
tile.state = if (running) Tile.STATE_ACTIVE else Tile.STATE_INACTIVE
|
||||
tile.label = getString(R.string.tile_service_label)
|
||||
tile.contentDescription = tile.label
|
||||
tile.icon = Icon.createWithResource(this, R.drawable.ic_qs_tile_nearby)
|
||||
tile.icon = Icon.createWithResource(this, R.drawable.ic_freeturn)
|
||||
tile.updateTile()
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@ class ProxyWidgetProvider : AppWidgetProvider(), KoinComponent {
|
||||
).joinToString(" · ")
|
||||
views.setTextViewText(R.id.widget_server_name, subtitle)
|
||||
|
||||
// nearby-иконка кодирует статус тоном динамической палитры.
|
||||
// Цвет знака отражает статус и следует динамической палитре.
|
||||
val statusColor = when {
|
||||
!running -> R.color.widget_outline
|
||||
connecting -> R.color.widget_tertiary
|
||||
|
||||
@@ -75,6 +75,12 @@ fun AppNavigation(
|
||||
// дефолтный tgSubscribeShown=false и диалог мигнёт у тех, кто его уже закрыл.
|
||||
if (!isInitialized) return
|
||||
|
||||
val showV5SetupNotice by settingsViewModel.showV5SetupNotice.collectAsStateWithLifecycle()
|
||||
if (showV5SetupNotice) {
|
||||
V5SetupNoticeDialog(onConfirm = settingsViewModel::acknowledgeV5SetupNotice)
|
||||
return
|
||||
}
|
||||
|
||||
val status by proxyViewModel.status.collectAsStateWithLifecycle()
|
||||
val initialTgSubscribeShown by settingsViewModel.initialTgSubscribeShown.collectAsStateWithLifecycle()
|
||||
val initialSuppressTgPrompt by settingsViewModel.initialSuppressTgPrompt.collectAsStateWithLifecycle()
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.freeturn.app.ui.navigation
|
||||
|
||||
import androidx.compose.material3.AlertDialog
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.TextButton
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import com.freeturn.app.R
|
||||
|
||||
@Composable
|
||||
internal fun V5SetupNoticeDialog(onConfirm: () -> Unit) {
|
||||
AlertDialog(
|
||||
onDismissRequest = {},
|
||||
title = { Text(stringResource(R.string.v5_setup_notice_title)) },
|
||||
text = { Text(stringResource(R.string.v5_setup_notice_message)) },
|
||||
confirmButton = {
|
||||
TextButton(onClick = onConfirm) {
|
||||
Text(stringResource(R.string.v5_setup_notice_confirm))
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
@@ -142,7 +142,7 @@ private fun AboutHero(appVersion: String) {
|
||||
) {
|
||||
Box(contentAlignment = Alignment.Center, modifier = Modifier.fillMaxSize()) {
|
||||
Icon(
|
||||
painterResource(R.drawable.logo_diamond_24px),
|
||||
painterResource(R.drawable.ic_freeturn),
|
||||
contentDescription = null,
|
||||
tint = MaterialTheme.colorScheme.onPrimaryContainer,
|
||||
modifier = Modifier.size(52.dp)
|
||||
|
||||
@@ -40,6 +40,16 @@ class SettingsViewModel(
|
||||
|
||||
val updateState: StateFlow<UpdateState> = appUpdater.state
|
||||
|
||||
private val _showV5SetupNotice = MutableStateFlow(false)
|
||||
val showV5SetupNotice: StateFlow<Boolean> = _showV5SetupNotice.asStateFlow()
|
||||
|
||||
fun acknowledgeV5SetupNotice() {
|
||||
viewModelScope.launch {
|
||||
prefs.acknowledgeV5SetupNotice()
|
||||
_showV5SetupNotice.value = false
|
||||
}
|
||||
}
|
||||
|
||||
private val _isInitialized = MutableStateFlow(false)
|
||||
val isInitialized: StateFlow<Boolean> = _isInitialized.asStateFlow()
|
||||
|
||||
@@ -57,6 +67,7 @@ class SettingsViewModel(
|
||||
viewModelScope.launch {
|
||||
_initialTgSubscribeShown.value = prefs.tgSubscribeShownFlow.first()
|
||||
_initialSuppressTgPrompt.value = prefs.suppressTgPromptFlow.first()
|
||||
_showV5SetupNotice.value = prefs.v5SetupNoticePending()
|
||||
_isInitialized.value = true
|
||||
}
|
||||
viewModelScope.launch {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="24dp" android:height="24dp"
|
||||
android:viewportWidth="400" android:viewportHeight="400">
|
||||
<group android:translateX="-79.88" android:translateY="-55.36">
|
||||
<path android:pathData="M162.08 162.36C162.08 118.531 197.611 83 241.44 83C285.269 83 320.8 118.531 320.8 162.36L282.36 175.814V162.36C282.36 139.761 264.039 121.44 241.44 121.44C218.841 121.44 200.52 139.761 200.52 162.36V384.32C200.52 407.88 207.96 422.76 226.56 427.72H215.4C180.68 427.72 162.08 409.12 162.08 376.88V162.36Z" android:fillColor="#FFFFFFFF"/>
|
||||
<path android:pathData="M212.92 218.346L397.68 153.68V192.12C397.68 207 390.24 215.804 375.36 221.012L212.92 277.866V218.346Z" android:fillColor="#FFFFFFFF"/>
|
||||
<path android:pathData="M212.92 315.066L314.6 279.478C327 275.138 336.92 281.4 336.92 293.8V323.56C336.92 337.2 330.72 344.64 318.32 348.98L212.92 385.87V315.066Z" android:fillColor="#FFFFFFFF"/>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp" android:height="108dp"
|
||||
android:viewportWidth="512" android:viewportHeight="512">
|
||||
<path android:pathData="M512 0H0V512H512V0Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="56" android:startY="24" android:endX="448" android:endY="512">
|
||||
<item android:offset="0" android:color="#FF284777"/>
|
||||
<item android:offset="1" android:color="#FF203B68"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
||||
@@ -1,14 +1,59 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<group android:scaleX="0.71"
|
||||
android:scaleY="0.71"
|
||||
android:translateX="148.48"
|
||||
android:translateY="148.48">
|
||||
<path
|
||||
android:pathData="M512,684L340,512L512,340L684,512L512,684ZM566.7,878.5C559.6,885.7 551.1,891.2 541.3,895.1C531.5,899 521.8,901 512,901C502.2,901 492.5,899 482.7,895.1C472.9,891.2 464.4,885.7 457.3,878.5L145.5,566.7C138.3,559.6 132.8,551.1 128.9,541.3C125,531.5 123,521.8 123,512C123,502.2 125,492.5 128.9,482.7C132.8,472.9 138.3,464.4 145.5,457.3L456.3,146.5C464.1,138.6 472.7,132.8 482.2,128.9C491.6,125 501.6,123 512,123C522.4,123 532.4,125 541.8,128.9C551.3,132.8 559.9,138.6 567.7,146.5L878.5,457.3C885.7,464.4 891.2,472.9 895.1,482.7C899,492.5 901,502.2 901,512C901,521.8 899,531.5 895.1,541.3C891.2,551.1 885.7,559.6 878.5,566.7L566.7,878.5ZM512,793.5L793.5,512L512,230.5L230.5,512L512,793.5Z"
|
||||
android:fillColor="#E3E3E3"/>
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp" android:height="108dp"
|
||||
android:viewportWidth="512" android:viewportHeight="512">
|
||||
<group android:scaleX="0.71" android:scaleY="0.71" android:translateX="74.24" android:translateY="74.24">
|
||||
<path android:pathData="M114.96 337.2C114.96 360.76 136.04 374.4 174.48 381.84V288.84C138.52 301.24 114.96 314.88 114.96 337.2Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="154.64" android:startY="291.32" android:endX="274.92" android:endY="430.2">
|
||||
<item android:offset="0" android:color="#FF112747"/>
|
||||
<item android:offset="1" android:color="#FF19355D"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="M200.52 379.36L282.36 350.84V369.44C282.36 401.68 256.32 427.72 224.08 427.72L200.52 425.5V379.36Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="154.64" android:startY="291.32" android:endX="274.92" android:endY="430.2">
|
||||
<item android:offset="0" android:color="#FF112747"/>
|
||||
<item android:offset="1" android:color="#FF19355D"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="M162.08 219.4V162.36C162.08 118.531 197.611 83 241.44 83C285.269 83 320.8 118.531 320.8 162.36V194.6L282.36 208.054V162.36C282.36 139.761 264.039 121.44 241.44 121.44C218.841 121.44 200.52 139.761 200.52 162.36V219.4H162.08Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="172" android:startY="83" android:endX="253.84" android:endY="427.72">
|
||||
<item android:offset="0" android:color="#FFB6C9FF"/>
|
||||
<item android:offset="0.3" android:color="#FFD9E3FF"/>
|
||||
<item android:offset="0.68" android:color="#FFC4D4FF"/>
|
||||
<item android:offset="1" android:color="#FFE0E8FF"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="M114.96 337.2V272.72C114.96 245.44 133.56 223.12 162.08 212.58L397.68 130.12V192.12C397.68 207 390.24 215.804 375.36 221.012L162.08 295.66C133.56 305.642 114.96 317.36 114.96 337.2Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="162.08" android:startY="182.2" android:endX="360.48" android:endY="383.08">
|
||||
<item android:offset="0" android:color="#FFB0C2FF"/>
|
||||
<item android:offset="1" android:color="#FF94AEFA"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="M190.6 322.878L314.6 279.478C327 275.138 336.92 281.4 336.92 293.8V323.56C336.92 337.2 330.72 344.64 318.32 348.98L190.6 393.682V322.878Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="162.08" android:startY="182.2" android:endX="360.48" android:endY="383.08">
|
||||
<item android:offset="0" android:color="#FFB0C2FF"/>
|
||||
<item android:offset="1" android:color="#FF94AEFA"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="M162.08 162.36H200.52V384.32C200.52 407.88 207.96 422.76 226.56 427.72H215.4C180.68 427.72 162.08 409.12 162.08 376.88V162.36Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient android:type="linear" android:startX="172" android:startY="83" android:endX="253.84" android:endY="427.72">
|
||||
<item android:offset="0" android:color="#FFB6C9FF"/>
|
||||
<item android:offset="0.3" android:color="#FFD9E3FF"/>
|
||||
<item android:offset="0.68" android:color="#FFC4D4FF"/>
|
||||
<item android:offset="1" android:color="#FFE0E8FF"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp" android:height="108dp"
|
||||
android:viewportWidth="512" android:viewportHeight="512">
|
||||
<group android:scaleX="0.71" android:scaleY="0.71" android:translateX="74.24" android:translateY="74.24">
|
||||
<path android:pathData="M162.08 162.36C162.08 118.531 197.611 83 241.44 83C285.269 83 320.8 118.531 320.8 162.36L282.36 175.814V162.36C282.36 139.761 264.039 121.44 241.44 121.44C218.841 121.44 200.52 139.761 200.52 162.36V384.32C200.52 407.88 207.96 422.76 226.56 427.72H215.4C180.68 427.72 162.08 409.12 162.08 376.88V162.36Z" android:fillColor="#FFFFFFFF"/>
|
||||
<path android:pathData="M212.92 218.346L397.68 153.68V192.12C397.68 207 390.24 215.804 375.36 221.012L212.92 277.866V218.346Z" android:fillColor="#FFFFFFFF"/>
|
||||
<path android:pathData="M212.92 315.066L314.6 279.478C327 275.138 336.92 281.4 336.92 293.8V323.56C336.92 337.2 330.72 344.64 318.32 348.98L212.92 385.87V315.066Z" android:fillColor="#FFFFFFFF"/>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -1,14 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="796"
|
||||
android:viewportHeight="796"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<group
|
||||
android:translateX="-82"
|
||||
android:translateY="-82">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M480,656L304,480L480,304L656,480L480,656ZM536,855Q525,866 510,872Q495,878 480,878Q465,878 450,872Q435,866 424,855L105,536Q94,525 88,510Q82,495 82,480Q82,465 88,450Q94,435 105,424L423,106Q435,94 449.5,88Q464,82 480,82Q496,82 510.5,88Q525,94 537,106L855,424Q866,435 872,450Q878,465 878,480Q878,495 872,510Q866,525 855,536L536,855ZM480,768L768,480Q768,480 768,480Q768,480 768,480L480,192Q480,192 480,192Q480,192 480,192L192,480Q192,480 192,480Q192,480 192,480L480,768Q480,768 480,768Q480,768 480,768Z"/>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -1,12 +0,0 @@
|
||||
<!-- Ромб из ic_launcher_foreground, но тинтуемый и без вшитого launcher-паддинга:
|
||||
для hero-блока «О проекте». -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M12,17.306L6.693,12L12,6.693L17.306,12L12,17.306ZM13.688,23.306C13.467,23.528 13.206,23.698 12.905,23.819C12.603,23.94 12.302,24 12,24C11.698,24 11.397,23.94 11.095,23.819C10.794,23.698 10.533,23.528 10.312,23.306L0.693,13.688C0.472,13.467 0.302,13.206 0.181,12.905C0.06,12.603 0,12.302 0,12C0,11.698 0.06,11.397 0.181,11.095C0.302,10.794 0.472,10.533 0.693,10.312L10.281,0.724C10.523,0.482 10.789,0.302 11.08,0.181C11.372,0.06 11.678,0 12,0C12.322,0 12.628,0.06 12.92,0.181C13.211,0.302 13.477,0.482 13.719,0.724L23.306,10.312C23.528,10.533 23.698,10.794 23.819,11.095C23.94,11.397 24,11.698 24,12C24,12.302 23.94,12.603 23.819,12.905C23.698,13.206 23.528,13.467 23.306,13.688L13.688,23.306ZM12,20.683L20.683,12L12,3.317L3.317,12L12,20.683Z"/>
|
||||
</vector>
|
||||
@@ -1,10 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M480,656L304,480L480,304L656,480L480,656ZM536,855Q525,866 510,872Q495,878 480,878Q465,878 450,872Q435,866 424,855L105,536Q94,525 88,510Q82,495 82,480Q82,465 88,450Q94,435 105,424L423,106Q435,94 449.5,88Q464,82 480,82Q496,82 510.5,88Q525,94 537,106L855,424Q866,435 872,450Q878,465 878,480Q878,495 872,510Q866,525 855,536L536,855ZM480,768L768,480Q768,480 768,480Q768,480 768,480L480,192Q480,192 480,192Q480,192 480,192L192,480Q192,480 192,480Q192,480 192,480L480,768Q480,768 480,768Q480,768 480,768Z"/>
|
||||
</vector>
|
||||
@@ -14,7 +14,7 @@
|
||||
android:id="@+id/widget_status_icon"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:src="@drawable/ic_qs_tile_nearby"
|
||||
android:src="@drawable/ic_freeturn"
|
||||
android:contentDescription="@null" />
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
|
||||
</adaptive-icon>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
|
||||
</adaptive-icon>
|
||||
|
Before Width: | Height: | Size: 1014 B After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.5 KiB |
@@ -550,4 +550,7 @@
|
||||
<string name="settings_about_desc">Version, description and links</string>
|
||||
<string name="about_description">Free Turn proxies WireGuard and Xray traffic through public TURN servers. Open source and no telemetry: all settings are stored only on your device.</string>
|
||||
<string name="about_links">Links</string>
|
||||
<string name="v5_setup_notice_title">Upgrading to FreeTurn 5</string>
|
||||
<string name="v5_setup_notice_message">Version 5 is not compatible with your previous setup: the servers and connection profiles you added will not work and have to be set up from scratch.\n\nAdd your server again or import a new connection link in the Connection (+) tab, then review your VPN and split tunneling settings.\n\nThis message is shown once.</string>
|
||||
<string name="v5_setup_notice_confirm">Got it</string>
|
||||
</resources>
|
||||
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#232323</color>
|
||||
</resources>
|
||||
@@ -581,4 +581,7 @@
|
||||
<string name="settings_about_desc">Версия, описание и ссылки</string>
|
||||
<string name="about_description">Free Turn проксирует WireGuard и Xray-трафик через публичные TURN-сервера. Открытый исходный код и никакой телеметрии: все настройки хранятся только на вашем устройстве.</string>
|
||||
<string name="about_links">Ссылки</string>
|
||||
<string name="v5_setup_notice_title">Переход на FreeTurn 5</string>
|
||||
<string name="v5_setup_notice_message">Версия 5 несовместима с прежними настройками: добавленные серверы и профили подключения работать не будут, их придётся настроить с нуля.\n\nЗаново добавьте сервер или импортируйте новую ссылку подключения на вкладке \"Соединение\" (+), затем проверьте параметры VPN и раздельного туннелирования.\n\nЭто сообщение показывается один раз.</string>
|
||||
<string name="v5_setup_notice_confirm">Понятно</string>
|
||||
</resources>
|
||||
|
Before Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 1.2 MiB |
@@ -22,4 +22,4 @@ android.uniquePackageNames=false
|
||||
android.dependency.useConstraints=true
|
||||
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
|
||||
android.r8.strictFullModeForKeepRules=false
|
||||
freeturnAar=3.2.0
|
||||
freeturnAar=local
|
||||