v0.5.114: убраны зашитые касания боевых хостов ячейки A (mail/035)
- дефолт-URL экрана входа -> BuildConfig.DEFAULT_SERVER_URL (-Pf7DefaultServerUrl, по умолчанию пусто) - TalkHelper: preconnect только к origin сессии, хардкод hpb-prod.f7cloud.ru удалён - AuthErrors: нейтральный пример адреса сервера
This commit is contained in:
+9
-2
@@ -17,10 +17,16 @@ android {
|
||||
applicationId 'ru.forbion.f7cloud.mobile'
|
||||
minSdk 26
|
||||
targetSdk 36
|
||||
versionCode 121
|
||||
versionName '0.5.113'
|
||||
versionCode 122
|
||||
versionName '0.5.114'
|
||||
missingDimensionStrategy 'default', 'f7'
|
||||
multiDexEnabled true
|
||||
// Дефолтный адрес сервера на экране входа. Прод-URL в сборку не вшивать
|
||||
// (решение integrator-b, f7_platform mail/035): для дев-сборки под свой
|
||||
// стенд задать -Pf7DefaultServerUrl=https://... или f7DefaultServerUrl в
|
||||
// ~/.gradle/gradle.properties. Без свойства поле входа пустое.
|
||||
buildConfigField 'String', 'DEFAULT_SERVER_URL',
|
||||
"\"${project.findProperty('f7DefaultServerUrl') ?: ''}\""
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -34,6 +40,7 @@ android {
|
||||
|
||||
buildFeatures {
|
||||
compose true
|
||||
buildConfig true
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
|
||||
@@ -69,6 +69,7 @@ import kotlinx.coroutines.withContext
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.tasks.await
|
||||
import ru.forbion.f7cloud.mobile.BuildConfig
|
||||
import ru.forbion.f7cloud.core.auth.AppLockStore
|
||||
import ru.forbion.f7cloud.core.auth.AuthSession
|
||||
import ru.forbion.f7cloud.core.auth.AuthStore
|
||||
@@ -679,7 +680,7 @@ private fun LoginScreen(onLogin: (AuthSession) -> Unit) {
|
||||
val serverFocus = remember { FocusRequester() }
|
||||
val usernameFocus = remember { FocusRequester() }
|
||||
val passwordFocus = remember { FocusRequester() }
|
||||
var serverUrl by rememberSaveable { mutableStateOf("https://forbion.f7cloud.ru") }
|
||||
var serverUrl by rememberSaveable { mutableStateOf(BuildConfig.DEFAULT_SERVER_URL) }
|
||||
var username by rememberSaveable { mutableStateOf("") }
|
||||
var password by rememberSaveable { mutableStateOf("") }
|
||||
var trustAllCerts by rememberSaveable { mutableStateOf(false) }
|
||||
|
||||
Reference in New Issue
Block a user