front docs improvement
This commit is contained in:
parent
ec670e90ae
commit
8cfb81c99d
|
|
@ -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/app`: app shell + router (GoRouter)
|
||||||
- `lib/src/di`: dependency providers
|
- `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/auth`: auth domain/data/presentation
|
||||||
- `lib/src/features/home`: home screen
|
- `lib/src/features/home`: home screen
|
||||||
|
- `lib/src/features/telemetry`: telemetry domain/data/presentation
|
||||||
|
- `lib/l10n`: localization (arb files)
|
||||||
|
|
||||||
## Configuration
|
## 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.
|
1. Save your spec (e.g., `openapi.yaml`) or point to its URL.
|
||||||
2. Generate a Dart client (OpenAPI Generator or Swagger Codegen).
|
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
|
## Running
|
||||||
|
|
||||||
|
|
@ -85,8 +87,9 @@ flutter run -d <device_id> \
|
||||||
Redirect configuration:
|
Redirect configuration:
|
||||||
- Android: `android/app/build.gradle.kts` sets `appAuthRedirectScheme`/`appAuthRedirectHost` for AppAuth, and `android/app/src/main/AndroidManifest.xml` registers the `RedirectUriReceiverActivity`.
|
- 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`.
|
- iOS: `ios/Runner/Info.plist` registers `com.mosenioring.app` under `CFBundleURLTypes`.
|
||||||
|
- Localization: `l10n.yaml` and `lib/l10n/*.arb` files.
|
||||||
|
|
||||||
Launcher icons:
|
Launcher icons:
|
||||||
```sh
|
```sh
|
||||||
flutter pub run flutter_launcher_icons
|
dart run flutter_launcher_icons
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue