feat(share): выдача доступа по ссылке/QR и импорт

Вкладка «Поделиться»: именованные WG-пиры и allowlist-гости, выдача и повторная
выдача доступа QR-кодом и freeturn://-ссылкой, отзыв. Импорт по deep link,
QR-сканеру (CameraX + ML Kit) и вставке из буфера — сервер заводится без SSH.
This commit is contained in:
samosvalishe committed 2026-06-13 01:21:35 +03:00
1 parent 417349b25d
commit 53d624f614
33 files changed
+3226 -105

No files matched your search

+15
View File
@@ -16,6 +16,11 @@ bouncycastle = "1.84"
koin = "4.2.1"
wireguardTunnel = "1.0.20260102"
desugarJdkLibs = "2.1.5"
camerax = "1.4.1"
mlkitBarcode = "17.3.0"
zxingCore = "3.5.3"
junit = "4.13.2"
orgJson = "20250517"
[libraries]
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
@@ -42,6 +47,16 @@ kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-
koin-androidx-compose = { group = "io.insert-koin", name = "koin-androidx-compose", version.ref = "koin" }
wireguard-tunnel = { group = "com.wireguard.android", name = "tunnel", version.ref = "wireguardTunnel" }
desugar-jdk-libs = { group = "com.android.tools", name = "desugar_jdk_libs", version.ref = "desugarJdkLibs" }
androidx-camera-core = { group = "androidx.camera", name = "camera-core", version.ref = "camerax" }
androidx-camera-camera2 = { group = "androidx.camera", name = "camera-camera2", version.ref = "camerax" }
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "camerax" }
androidx-camera-view = { group = "androidx.camera", name = "camera-view", version.ref = "camerax" }
# bundled-модель: сканер работает без Google Play Services (+~2.4MB к APK).
mlkit-barcode-scanning = { group = "com.google.mlkit", name = "barcode-scanning", version.ref = "mlkitBarcode" }
zxing-core = { group = "com.google.zxing", name = "core", version.ref = "zxingCore" }
junit = { group = "junit", name = "junit", version.ref = "junit" }
# org.json в android.jar замокан — реальная реализация для JVM-юнит-тестов.
org-json = { group = "org.json", name = "json", version.ref = "orgJson" }
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }