ionic-planb-logistic-app-fl.../lib
Mathias Beaulieu-Duncan a60f92c56d Add feature flag to switch between HTTP and gRPC transports
Adds ApiModeConfig class with support for selecting API transport mode:
- ApiMode enum (http, grpc)
- Static configurations: development (HTTP), developmentGrpc, production, productionGrpc
- fallbackToHttpOnError option for graceful degradation

Creates unified deliveryRoutesProvider and deliveriesProvider that:
- Respect apiModeConfigProvider for transport selection
- Automatically delegate to gRPC or HTTP providers
- Fall back to HTTP on gRPC failures when configured

To enable gRPC, override apiModeConfigProvider with ApiModeConfig.developmentGrpc
in the ProviderScope.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-20 13:11:58 -05:00
..
api auto-claude: subtask-3-4 - Implement command methods (complete, uncomplete, skip) 2026-01-20 13:06:08 -05:00
components auto-claude: subtask-6-1 - Run flutter analyze to ensure no errors or warnings 2026-01-20 11:54:12 -05:00
generated auto-claude: subtask-2-2 - Generate Dart proto stubs for delivery services 2026-01-20 12:57:42 -05:00
l10n auto-claude: subtask-4-2 - Update routes_page.dart to use new dialog components 2026-01-20 11:45:39 -05:00
models brand theme, allot of features, allot of bug fixes 2025-11-26 18:39:45 -05:00
pages auto-claude: subtask-6-1 - Run flutter analyze to ensure no errors or warnings 2026-01-20 11:54:12 -05:00
providers Add feature flag to switch between HTTP and gRPC transports 2026-01-20 13:11:58 -05:00
services checkpoint 2025-11-26 15:59:20 -05:00
theme auto-claude: subtask-6-1 - Run flutter analyze to ensure no errors or warnings 2026-01-20 11:54:12 -05:00
utils auto-claude: subtask-6-1 - Run flutter analyze to ensure no errors or warnings 2026-01-20 11:54:12 -05:00
main.dart auto-claude: subtask-5-1 - Remove orientation restriction to allow all orientations 2026-01-20 11:47:26 -05:00
theme.dart brand theme, allot of features, allot of bug fixes 2025-11-26 18:39:45 -05:00