Keep Android biometric opt-in available
This commit is contained in:
+6
-1
@@ -2,10 +2,15 @@
|
|||||||
|
|
||||||
## Versión actual
|
## Versión actual
|
||||||
|
|
||||||
- Versión base: `1.2.5`
|
- Versión base: `1.2.6`
|
||||||
|
|
||||||
## Historial
|
## Historial
|
||||||
|
|
||||||
|
### 1.2.6 - 2026-04-23
|
||||||
|
|
||||||
|
- Android deja de desactivar la huella cuando se cierra o pospone el diálogo de oferta biométrica.
|
||||||
|
- La oferta de activar huella reaparece mientras aún no existan credenciales biométricas guardadas.
|
||||||
|
|
||||||
### 1.2.5 - 2026-04-23
|
### 1.2.5 - 2026-04-23
|
||||||
|
|
||||||
- Android vuelve a bloquearse al pasar a segundo plano cuando la biometría está activa, para que al regresar sí pida huella.
|
- Android vuelve a bloquearse al pasar a segundo plano cuando la biometría está activa, para que al regresar sí pida huella.
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ android {
|
|||||||
applicationId "net.linkedcorp.linkedsign"
|
applicationId "net.linkedcorp.linkedsign"
|
||||||
minSdk 26
|
minSdk 26
|
||||||
targetSdk 35
|
targetSdk 35
|
||||||
versionCode 10205
|
versionCode 10206
|
||||||
versionName "1.2.5"
|
versionName "1.2.6"
|
||||||
|
|
||||||
buildConfigField "String", "API_BASE_URL", "\"${apiBaseUrl}\""
|
buildConfigField "String", "API_BASE_URL", "\"${apiBaseUrl}\""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ fun LinkedSignApp(viewModel: MainViewModel, appContext: Context, activity: Compo
|
|||||||
.onSuccess {
|
.onSuccess {
|
||||||
selectedTab = if (viewModel.consumeAboutLandingForCurrentUser()) AppTab.About else AppTab.Documents
|
selectedTab = if (viewModel.consumeAboutLandingForCurrentUser()) AppTab.About else AppTab.Documents
|
||||||
appUnlocked = true
|
appUnlocked = true
|
||||||
showBiometricOptIn = biometricAvailable && !state.biometricEnabled
|
showBiometricOptIn = biometricAvailable && !state.biometricHasCredentials
|
||||||
snackbarHostState.showSnackbar("Sesión iniciada.")
|
snackbarHostState.showSnackbar("Sesión iniciada.")
|
||||||
}
|
}
|
||||||
.onFailure { error ->
|
.onFailure { error ->
|
||||||
@@ -480,10 +480,7 @@ fun LinkedSignApp(viewModel: MainViewModel, appContext: Context, activity: Compo
|
|||||||
if (showBiometricOptIn) {
|
if (showBiometricOptIn) {
|
||||||
AlertDialog(
|
AlertDialog(
|
||||||
onDismissRequest = {
|
onDismissRequest = {
|
||||||
scope.launch {
|
|
||||||
viewModel.declineBiometricAccess()
|
|
||||||
showBiometricOptIn = false
|
showBiometricOptIn = false
|
||||||
}
|
|
||||||
},
|
},
|
||||||
title = { Text("Activar acceso biométrico") },
|
title = { Text("Activar acceso biométrico") },
|
||||||
text = {
|
text = {
|
||||||
@@ -504,10 +501,7 @@ fun LinkedSignApp(viewModel: MainViewModel, appContext: Context, activity: Compo
|
|||||||
},
|
},
|
||||||
dismissButton = {
|
dismissButton = {
|
||||||
OutlinedButton(onClick = {
|
OutlinedButton(onClick = {
|
||||||
scope.launch {
|
|
||||||
viewModel.declineBiometricAccess()
|
|
||||||
showBiometricOptIn = false
|
showBiometricOptIn = false
|
||||||
}
|
|
||||||
}) {
|
}) {
|
||||||
Text("Ahora no")
|
Text("Ahora no")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "linkedsign-backend",
|
"name": "linkedsign-backend",
|
||||||
"version": "1.2.5",
|
"version": "1.2.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Initial backend for LinkedSign",
|
"description": "Initial backend for LinkedSign",
|
||||||
"main": "src/server.js",
|
"main": "src/server.js",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.2.5",
|
"version": "1.2.6",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in New Issue
Block a user