diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 44c16c1..d9284e9 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -15,7 +15,7 @@ diff --git a/assets/launch_icon.png b/assets/launch_icon.png new file mode 100644 index 0000000..ac6b685 Binary files /dev/null and b/assets/launch_icon.png differ diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 32a7b4d..7f56699 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Hl Lieferservice + Holzleitner Auslieferung CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/lib/widget/app.dart b/lib/widget/app.dart index f30fc7f..fe049f1 100644 --- a/lib/widget/app.dart +++ b/lib/widget/app.dart @@ -120,6 +120,7 @@ class _DeliveryAppState extends State { ), ], child: MaterialApp( + title: 'Holzleitner Auslieferung', // Wrap the Navigator (not just the home route) so the loading // overlay covers every pushed route — DeliveryDetail, Cars, // dialogs, etc. — not only the initial home tree. @@ -153,6 +154,7 @@ class _DeliveryAppState extends State { if (state is AppConfigLoadingFailed) { return MaterialApp( + title: 'Holzleitner Auslieferung', home: Scaffold( body: Center(child: Text("Fehler beim Laden der Konfiguration")), ), @@ -160,6 +162,7 @@ class _DeliveryAppState extends State { } return MaterialApp( + title: 'Holzleitner Auslieferung', home: Scaffold( body: Center(child: const CircularProgressIndicator()), ), diff --git a/pubspec.lock b/pubspec.lock index bc2e864..aac0658 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -177,6 +177,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.3" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c + url: "https://pub.dev" + source: hosted + version: "0.4.2" clock: dependency: transitive description: @@ -374,6 +382,14 @@ packages: url: "https://pub.dev" source: hosted version: "9.1.1" + flutter_launcher_icons: + dependency: "direct dev" + description: + name: flutter_launcher_icons + sha256: "10f13781741a2e3972126fae08393d3c4e01fa4cd7473326b94b72cf594195e7" + url: "https://pub.dev" + source: hosted + version: "0.14.4" flutter_lints: dependency: "direct dev" description: @@ -599,6 +615,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.1.2" + image: + dependency: transitive + description: + name: image + sha256: f9881ff4998044947ec38d098bc7c8316ae1186fa786eddffdb867b9bc94dfce + url: "https://pub.dev" + source: hosted + version: "4.8.0" image_picker: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 13497e3..1661337 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -80,12 +80,19 @@ dev_dependencies: # rules and activating additional ones. flutter_lints: ^5.0.0 json_serializable: ^6.9.5 + flutter_launcher_icons: ^0.14.4 # Generator wird über tool/generate_api_client.sh (Java-CLI) gefahren — # kein build_runner-Hook, daher kein openapi_generator-Paket nötig. # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec +flutter_launcher_icons: + android: "launcher_icon" + ios: true + image_path: "assets/launch_icon.png" + min_sdk_android: 21 + # The following section is specific to Flutter packages. flutter: