Files
prosappco/pubspec.yaml
T
Lizandro GuarnizoandClaude Opus 5 8631e6f729 fix: port 7 web features and repair the endless-loading screens
Root cause behind most "stuck loading" reports: the backend changed shape
(schedules became an array, location_preferences a string) while the mobile
parser still hard-cast to Map/int. The TypeError was swallowed by a silent
catch that returned null, and screens only handled the success state, so a
parse failure rendered as a permanent spinner. Same class of bug appeared
across service lists via non-null map lookups and a total absence of
request timeouts.

Ported from prosappweb:
- in-app suggestions (POST /suggestions)
- policies/terms from GET /settings/policies
- configurable appointment length (slot_duration_minutes)
- block/unblock calendar slots (POST /services/block)
- GPS city detection on the profile (Nominatim)
- server-side professional search with haversine distance
- retry cooldown after a rejected professional application

Reliability:
- parse schedules array (day_of_week 0=Mon) and string location_preferences
- read times as wall clock, so 08:00 stays 08:00 across timezones
- carry minutes into hours in TimeOfDay.add; a minute-based step used to
  loop forever and freeze the calendar (covered by test/time_slots_test.dart)
- semver update check instead of string equality, which blocked every build
  that did not exactly match the configured version
- request timeouts across all repositories
- surface HTTP >= 400 instead of reporting failed writes as success
- error states with retry instead of an indefinite shimmer

Includes pre-existing uncommitted work from the UI redesign.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-24 16:45:42 -05:00

96 lines
2.2 KiB
YAML

name: prosappco
description: Encuentra personal médico certificado.
publish_to: "none"
version: 1.0.14+14
environment:
sdk: ">=3.0.0 <4.0.0"
dependencies:
animate_do: ^3.0.2
firebase_core: ^3.0.0
firebase_messaging: ^15.0.0
animated_splash_screen: ^1.3.0
chat_repository:
path: packages/chat_repository
city_repository:
path: packages/city_repository
community_material_icon: ^5.9.55
cupertino_icons: ^1.0.2
diacritic: ^0.1.5
equatable: ^2.0.5
file_picker: ^8.0.3
flutter:
sdk: flutter
flutter_animate: ^4.5.0
flutter_bloc: ^8.1.4
flutter_dialogs: ^3.0.0
flutter_email_sender: ^6.0.3
flutter_local_notifications: ^17.1.2
flutter_localizations:
sdk: flutter
flutter_otp_text_field: ^1.1.1
flutter_polyline_points: ^2.0.0
flutter_rating_bar: ^4.0.1
font_awesome_flutter: ^10.4.0
geocoding: ^3.0.0
geolocator: ^12.0.0
google_maps_flutter: ^2.5.0
http: ^1.1.0
image_picker: ^1.0.7
injector: ^3.0.0
intl: ^0.19.0
intl_phone_field: ^3.2.0
location: ^6.0.2
otp_timer_button: ^1.1.0
package_info_plus: ^8.0.0
profession_repository:
path: packages/profession_repository
professional_repository:
path: packages/professional_repository
provider: ^6.0.5
responsive_builder: ^0.7.0
score_repository:
path: packages/score_repository
service_repository:
path: packages/service_repository
setting_repository:
path: packages/setting_repository
shared_preferences: ^2.0.10
shimmer: ^3.0.0
suggestion_repository:
path: packages/suggestion_repository
table_calendar: ^3.1.1
universal_html: ^2.2.3
url_launcher: ^6.1.10
user_repository:
path: packages/user_repository
web: ^0.5.1
webview_flutter: ^4.4.1
dev_dependencies:
flutter_lints: ^4.0.0
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
assets:
- images/
fonts:
- family: Poppins
fonts:
- asset: fonts/Poppins-Thin.ttf
- asset: fonts/Poppins-ExtraLight.ttf
- asset: fonts/Poppins-Light.ttf
- asset: fonts/Poppins-Regular.ttf
- asset: fonts/Poppins-Medium.ttf
- asset: fonts/Poppins-Black.ttf
- asset: fonts/Poppins-SemiBold.ttf
- asset: fonts/Poppins-Bold.ttf
- asset: fonts/Poppins-ExtraBold.ttf