Commit Graph
324 Commits
Author SHA1 Message Date
Lizandro GuarnizoandClaude Sonnet 4.6 38beca4b4f feat: implement SMS OTP auth via backend API
- signInWithPhoneNumber: calls POST /auth/send-otp, stores pending phone
- verifyOTP: calls POST /auth/phone with phone+code, saves token
- linkWithOTP: calls POST /auth/verify-phone (authenticated) with phone+code
- AuthBloc._linkWithPhoneNumber: replaced Firebase PhoneVerificationService with repository call

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 15:23:39 -05:00
Lizandro GuarnizoandClaude Sonnet 4.6 79f350e85f feat: implement FCM push notifications via firebase_messaging
- Add firebase_core + firebase_messaging to pubspec.yaml
- Initialize Firebase in main.dart before runApp
- NotificationBloc: request permission, get FCM token, register with
  backend (PATCH /users/me/fcm-token), show local notification on
  foreground messages, refresh token on rotation
- app_view.dart: call initializePushNotifications() on authenticated state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 12:43:41 -05:00
Lizandro GuarnizoandClaude Sonnet 4.6 5e92d2b908 fix: replace Timestamp.toDate() with DateTime.tryParse in score list screens
score.createdAt is now String (ISO 8601) not Firebase Timestamp, so .toDate()
was a compile error. Use DateTime.tryParse() with fallback to DateTime.now().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 12:28:07 -05:00
Lizandro GuarnizoandClaude Sonnet 4.6 af91e0ba04 chore: remove Firebase dependencies and legacy code (Fase 4)
- Delete all firebase_*_repository.dart files (replaced by api_* equivalents)
- Remove cloud_firestore, firebase_auth, firebase_storage, firebase_core from all package pubspecs
- Remove cloud_firestore from main pubspec.yaml
- Delete firebase_options.dart (no longer referenced)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 18:11:31 -05:00
Lizandro GuarnizoandClaude Sonnet 4.6 733384091c feat: migrate prosappco from Firebase to NestJS REST API (Fase 2)
- Replace all Firebase* repositories with Api* repositories using HTTP + SharedPreferences JWT
- Remove Firebase.initializeApp() and firebase_messaging background handler from main.dart
- Update DI (app_di.dart) to inject Api* repositories instead of Firebase* ones
- Replace all Timestamp/cloud_firestore usage with ISO 8601 String dates
- Stub PhoneVerificationService (Firebase phone OTP → backend OTP when implemented)
- Add ApiService singleton with JWT management in lib/services/
- Legacy firebase_*_repository.dart files preserved for Fase 4 cleanup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 16:53:11 -05:00
Felipe 726cf12fd2 fix: campo rate preferences 2024-12-23 09:22:32 -05:00
Felipe bcd7eaefc2 fix: sale tarfa aunque este en false 2024-12-23 09:14:45 -05:00
Felipe 721111ea31 update 2024-10-25 21:35:21 -05:00
Felipe 75c5cbf537 update 2024-09-20 17:07:22 -05:00
Felipe 0496101a9d error import 2024-09-20 14:49:21 -05:00
Felipe fd07ad3015 update 2024-09-20 08:25:05 -05:00
Felipe f6f2e403d8 update lat, lng 0 y horarios 2024-08-17 11:41:25 -05:00
Felipe a7f62dec6d fix jueves error 2024-08-02 18:47:49 -05:00
Felipe 408744fcc6 update 2024-08-02 18:46:17 -05:00
Felipe e1717f1be7 si no 2024-05-29 17:30:09 -05:00
Felipe 2c705f882a update 2024-05-29 17:13:58 -05:00
Felipe 6e1409f4b8 pdf 2024-05-29 16:13:41 -05:00
lizandrogd dcd697e885 update 2024-05-28 17:19:13 -05:00
Lizandro Guarnizo ac53cc7cb5 Actualizacion de plugin, 2024-05-28 16:09:37 -05:00
Felipe a678167bc5 botones etc 2024-05-27 10:47:41 -05:00
Felipe bec1aaef21 update 2024-05-25 14:04:02 -05:00
Felipe 50f0c04f59 update servicio caducado 2024-05-25 13:49:08 -05:00
Felipe fbae057d8a timer 2024-05-25 13:35:34 -05:00
Felipe f4d3bdabe9 boton depende de hora actual 2024-05-25 13:31:44 -05:00
Felipe 0e93bc23b8 fecha en mensajes y lista profesional 2024-05-25 10:09:54 -05:00
Felipe f1b2497c92 update faltan los ifs 2024-05-24 17:53:12 -05:00
Felipe 5db51bc86a calendario profesional 2024-05-23 21:41:49 -05:00
Lizandro Guarnizo e27955d671 up 2024-05-21 10:26:19 -05:00
Felipe 8b34e7d12d numero de solicitudes 2024-04-25 23:52:16 -05:00
Felipe 171b3fd926 info 2024-04-25 11:47:34 -05:00
Felipe c64df99bfb notificaciones al cancelar servicio 2024-04-25 11:39:43 -05:00
Felipe e1049f7281 notificaciones al pedir servicio y al enviar mensaje de chat 2024-04-25 11:15:33 -05:00
Felipe 76be1f1f1a lading chat 2024-04-23 14:51:15 -05:00
Felipe 34135b25e1 clear before notificaciones 2024-04-20 11:39:01 -05:00
Felipe c874178019 score 2024-04-18 18:29:41 -05:00
Felipe 8084d5fc7f after 2024-04-18 15:51:23 -05:00
Felipe 631b8c5801 before events 2024-04-18 11:40:06 -05:00
Felipe 142c09d389 fix pov user y profesional 2024-04-18 10:23:43 -05:00
Felipe 2facd1b1d8 scored true 2024-04-18 08:37:09 -05:00
Felipe 73159cdd57 tarifas y delivery 2024-04-17 11:57:33 -05:00
Felipe 8cefe5ba13 DELIVERy 2024-04-17 10:48:30 -05:00
Felipe afb6ff3ddd score desde user 2024-04-17 09:55:50 -05:00
Felipe 141d11a141 puntacion 2024-04-17 00:48:46 -05:00
Felipe 61d517aaea chat screen 2024-04-16 08:46:06 -05:00
Felipe 34c60af688 fix pantalla servicio 2024-04-12 12:12:32 -05:00
Felipe ef06730840 servicio 2024-04-09 21:28:16 -05:00
Felipe 60547febb6 antes de agregar el id 2024-04-07 18:03:51 -05:00
Felipe bfe782e47e historial y pendientes 2024-04-06 20:50:37 -05:00
Felipe d9c5e97dbc traer solo los activos aceptados y pendientes 2024-04-06 11:40:19 -05:00
Felipe df9f44a8f2 lista de servicios 2024-04-05 18:40:17 -05:00