Show app version on login

This commit is contained in:
2026-04-23 08:18:40 -05:00
parent 820e335d9a
commit 62cb604412
8 changed files with 19 additions and 6 deletions
+5 -1
View File
@@ -2,10 +2,14 @@
## Versión actual
- Versión base: `1.0.3`
- Versión base: `1.0.4`
## Historial
### 1.0.4 - 2026-04-23
- Se muestra la versión de LinkedSign en el inicio de sesión web y Android.
### 1.0.3 - 2026-04-23
- Se ajusta la duración completa de sesión web y Android a 15 minutos.
+1 -1
View File
@@ -1 +1 @@
1.0.3
1.0.4
+2 -2
View File
@@ -18,8 +18,8 @@ android {
applicationId "net.linkedcorp.linkedsign"
minSdk 26
targetSdk 35
versionCode 10003
versionName "1.0.3"
versionCode 10004
versionName "1.0.4"
buildConfigField "String", "API_BASE_URL", "\"${apiBaseUrl}\""
}
@@ -713,6 +713,12 @@ private fun LoginCard(onSubmit: (String, String) -> Unit) {
modifier = Modifier.padding(12.dp)
)
}
Text(
"Versión ${BuildConfig.VERSION_NAME}",
color = TextMuted,
fontSize = AppFontSizes.xs,
modifier = Modifier.align(Alignment.CenterHorizontally)
)
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "linkedsign-backend",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"description": "Initial backend for LinkedSign",
"main": "src/server.js",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "1.0.3",
"version": "1.0.4",
"type": "module",
"scripts": {
"dev": "vite",
+1
View File
@@ -392,6 +392,7 @@ select {
.auth-link { text-align: center; margin-top: 20px; font-size: 13px; color: var(--gray-500); }
.auth-link a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }
.auth-version { text-align: center; margin-top: 10px; font-size: 12px; color: var(--gray-400); }
.auth-download-btn {
justify-content: center;
}
+2
View File
@@ -4,6 +4,7 @@ import { useAuth } from '../../contexts/AuthContext';
import { Download, PenTool } from 'lucide-react';
import toast from 'react-hot-toast';
import { SESSION_EXPIRED_MESSAGE, translateApiError } from '../../utils/session';
import packageInfo from '../../../package.json';
export default function LoginPage() {
const { login } = useAuth();
@@ -83,6 +84,7 @@ export default function LoginPage() {
<p className="auth-link">
¿No tienes cuenta? <Link to="/register">Registrarse</Link>
</p>
<p className="auth-version">Versión {packageInfo.version}</p>
</div>
</div>
);