feat: discovery automático + QR como fallback en PantallaUnirse
All checks were successful
Build & Deploy Farolero / Análisis de código (push) Successful in 9s
Build & Deploy Farolero / Build APK + AAB release (push) Successful in 1m7s

- Discovery: busca hosts cercanos automáticamente y los muestra en lista
- Cada host aparece como tile tocable con nombre de la sala
- QR fallback: botón 'Escanear QR' debajo de la lista
- ServicioNearby: hostsEncontrados map, pararBusqueda(), no auto-connect
- Flujo: nombre → buscar → lista de salas (o QR) → conectar → espera
- l10n: searchGames, searchingGames, noGamesFound, orScanQR (es/en)
This commit is contained in:
ShanaiaBot
2026-04-04 03:20:32 +02:00
parent 6428667e11
commit 757344ca48
22 changed files with 732 additions and 133 deletions

View File

@@ -249,5 +249,11 @@
"scanQR": "Scan QR",
"scanHostQR": "Point at the host's QR code",
"connectedWaiting": "Connected!",
"waitingForHost": "Waiting for the host to start the game..."
"waitingForHost": "Waiting for the host to start the game...",
"enterNameToSearch": "Enter your name to search for nearby games",
"searchGames": "Search games",
"searchingGames": "Searching for nearby games...",
"noGamesFound": "No games found",
"noGamesFoundHint": "Make sure the host has the room open and you are nearby",
"orScanQR": "Not showing up? Scan the host's QR code"
}