fix: crash al arrancar + icono correcto
- MainActivity movida de es.freetimelab.el_impostor → es.freetimelab.farolero - minSdk forzado a 24 (requerido por nearby_connections) - Iconos regenerados con PIL (AAPT-compatible) - Adaptive icon con foreground/background - Feature graphic actualizado - Refs a elimpostor limpiadas en servicio_nearby
@@ -20,7 +20,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "es.freetimelab.farolero"
|
||||
minSdk = flutter.minSdkVersion
|
||||
minSdk = 24
|
||||
targetSdk = 34
|
||||
versionCode = flutter.versionCode
|
||||
versionName = flutter.versionName
|
||||
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 54 KiB |
@@ -1,5 +0,0 @@
|
||||
package es.freetimelab.el_impostor
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
class MainActivity : FlutterActivity()
|
||||
@@ -0,0 +1,5 @@
|
||||
package es.freetimelab.farolero
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
class MainActivity: FlutterActivity()
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 13 KiB |
@@ -63,7 +63,7 @@ class ServicioNearby extends ChangeNotifier {
|
||||
// onConnectionInitiated: _onConexionIniciada,
|
||||
// onConnectionResult: _onResultadoConexion,
|
||||
// onDisconnected: _onDesconexion,
|
||||
// serviceId: 'es.freetimelab.elimpostor',
|
||||
// serviceId: 'es.freetimelab.farolero',
|
||||
// );
|
||||
// _esHost = true;
|
||||
// _endpointId = nombreSala;
|
||||
@@ -96,7 +96,7 @@ class ServicioNearby extends ChangeNotifier {
|
||||
// );
|
||||
// },
|
||||
// onEndpointLost: (id) {},
|
||||
// serviceId: 'es.freetimelab.elimpostor',
|
||||
// serviceId: 'es.freetimelab.farolero',
|
||||
// );
|
||||
// return true;
|
||||
// } catch (e) {
|
||||
@@ -139,7 +139,7 @@ class ServicioNearby extends ChangeNotifier {
|
||||
/// Genera los datos para el código QR de conexión
|
||||
String generarDatosQR(String nombreSala) {
|
||||
return json.encode({
|
||||
'app': 'elimpostor',
|
||||
'app': 'farolero',
|
||||
'endpoint': _endpointId,
|
||||
'sala': nombreSala,
|
||||
});
|
||||
|
||||