payfrit-works-ios/PayfritWorks/Services
Schwifty ece36cb484 feat: add customer rating dialog on task completion
When a worker completes a service point task and the API requires a
rating, a dialog now appears with 4 yes/no questions matching Android:
- Was the customer prepared?
- Was the scope clear?
- Was the customer respectful?
- Would you serve them again?

The rating is submitted with the task completion request via the
workerRating payload. Also handles rating_required during beacon
auto-complete by dismissing the countdown and showing the dialog.

Files changed:
- RatingDialog.swift (new) — rating dialog UI with toggle chips
- APIService.swift — added workerRating param + ratingRequired error
- TaskDetailScreen.swift — rating flow in completeTask + auto-complete
- project.pbxproj — added RatingDialog.swift to Xcode project
2026-03-22 12:30:18 +00:00
..
APIService.swift feat: add customer rating dialog on task completion 2026-03-22 12:30:18 +00:00
AuthStorage.swift Initial commit: Payfrit Works iOS native app 2026-02-01 23:38:34 -08:00
BeaconScanner.swift iOS parity fixes from Android comparison 2026-02-16 14:07:24 -08:00
BeaconShardPool.swift Add BeaconShardPool for iBeacon shard UUID scanning 2026-02-06 14:46:09 -08:00
ChatService.swift iOS parity fixes from Android comparison 2026-02-16 14:07:24 -08:00