From 8cfb81c99db4f2ddbe2d2f64b3e3e661368e19b9 Mon Sep 17 00:00:00 2001 From: oskar Date: Mon, 12 Jan 2026 22:43:29 +0100 Subject: [PATCH] front docs improvement --- front001/mosenioring/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/front001/mosenioring/README.md b/front001/mosenioring/README.md index dea7382..95641fa 100644 --- a/front001/mosenioring/README.md +++ b/front001/mosenioring/README.md @@ -7,9 +7,11 @@ management, and a login flow ready to integrate with a Swagger/OpenAPI backend. - `lib/src/app`: app shell + router (GoRouter) - `lib/src/di`: dependency providers -- `lib/src/core`: config + networking +- `lib/src/core`: config, networking, and core utilities - `lib/src/features/auth`: auth domain/data/presentation - `lib/src/features/home`: home screen +- `lib/src/features/telemetry`: telemetry domain/data/presentation +- `lib/l10n`: localization (arb files) ## Configuration @@ -39,7 +41,7 @@ When the spec is ready, generate a client and replace `ApiClient` usage: 1. Save your spec (e.g., `openapi.yaml`) or point to its URL. 2. Generate a Dart client (OpenAPI Generator or Swagger Codegen). -3. Swap `AuthRemoteDataSource` to call the generated client. +3. Swap `AuthRemoteDataSource` or `TelemetryRemoteDataSource` to call the generated client. ## Running @@ -85,8 +87,9 @@ flutter run -d \ Redirect configuration: - Android: `android/app/build.gradle.kts` sets `appAuthRedirectScheme`/`appAuthRedirectHost` for AppAuth, and `android/app/src/main/AndroidManifest.xml` registers the `RedirectUriReceiverActivity`. - iOS: `ios/Runner/Info.plist` registers `com.mosenioring.app` under `CFBundleURLTypes`. +- Localization: `l10n.yaml` and `lib/l10n/*.arb` files. Launcher icons: ```sh -flutter pub run flutter_launcher_icons +dart run flutter_launcher_icons ```