From 2f74f5ed78f62bce510269e701d39e791b3dd821 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Sun, 31 Aug 2025 18:22:40 +0200 Subject: [PATCH] fix applocalizations --- covas_mobile_new/.env | 7 + covas_mobile_new/debug | 1 + covas_mobile_new/l10n.yaml | 5 + covas_mobile_new/lib/classes/MyDrawer.dart | 2 +- .../lib/classes/notification_service.dart | 4 +- .../{l10n => gen_l10n}/app_localizations.dart | 2 +- .../app_localizations_de.dart | 0 .../app_localizations_en.dart | 0 .../app_localizations_fr.dart | 0 covas_mobile_new/lib/main.dart | 2 +- covas_mobile_new/lib/pages/AddProfile.dart | 2 +- covas_mobile_new/lib/pages/Camera.dart | 2 +- covas_mobile_new/lib/pages/CameraEdit.dart | 2 +- .../lib/pages/DisplayPictureScreen.dart | 2 +- covas_mobile_new/lib/pages/EditEvent.dart | 2 +- covas_mobile_new/lib/pages/EditProfile.dart | 2 +- covas_mobile_new/lib/pages/EditSettings.dart | 2 +- .../lib/pages/ForgotPassword.dart | 2 +- covas_mobile_new/lib/pages/ItemMenu.dart | 2 +- .../lib/pages/ListItemByOrganizers.dart | 2 +- .../lib/pages/ListItemByTags.dart | 2 +- covas_mobile_new/lib/pages/ListItemMenu.dart | 2 +- covas_mobile_new/lib/pages/LoginDemo.dart | 2 +- covas_mobile_new/lib/pages/MapboxPages.dart | 2 +- .../lib/pages/UpdateEventImage.dart | 2 +- .../Flutter/GeneratedPluginRegistrant.swift | 2 + covas_mobile_new/pubspec.lock | 192 ++++++++++++++---- covas_mobile_new/pubspec.yaml | 23 ++- .../windows/flutter/generated_plugins.cmake | 1 + 29 files changed, 203 insertions(+), 68 deletions(-) create mode 100644 covas_mobile_new/.env create mode 100644 covas_mobile_new/debug create mode 100644 covas_mobile_new/l10n.yaml rename covas_mobile_new/lib/{l10n => gen_l10n}/app_localizations.dart (99%) rename covas_mobile_new/lib/{l10n => gen_l10n}/app_localizations_de.dart (100%) rename covas_mobile_new/lib/{l10n => gen_l10n}/app_localizations_en.dart (100%) rename covas_mobile_new/lib/{l10n => gen_l10n}/app_localizations_fr.dart (100%) diff --git a/covas_mobile_new/.env b/covas_mobile_new/.env new file mode 100644 index 0000000..1999b68 --- /dev/null +++ b/covas_mobile_new/.env @@ -0,0 +1,7 @@ +GEMINI_API_KEY=AIzaSyA_duijigpl47KaNYMZmtiUjor1C2REKMo +GOOGLEMAP_API_KEY=AIzaSyA_duijigpl47KaNYMZmtiUjor1C2REKMo +IMGBB_API_KEY=87a91f7e54516808dda2c4feffbd5287 +MAPBOX_ACCESS_TOKEN=pk.eyJ1IjoidmFsY3plODAiLCJhIjoiY20ydGtsbWQ1MDN0OTJpcjVuZWhpY2RiZSJ9.ZKQHadu6CDlXUZV3RTxpPA +PLACE_API_KEY=AIzaSyAt1LQIV_hwJQF56sXjb4oxEZEC0wI3PKg +AD_UNIT_ID=ca-app-pub-4855855675386260/2474310045 +KEY_ENCRYPT=FXNF4VSYvaLdldlq \ No newline at end of file diff --git a/covas_mobile_new/debug b/covas_mobile_new/debug new file mode 100644 index 0000000..e3d568d --- /dev/null +++ b/covas_mobile_new/debug @@ -0,0 +1 @@ +Running Gradle task 'assembleRelease'... 567ms diff --git a/covas_mobile_new/l10n.yaml b/covas_mobile_new/l10n.yaml new file mode 100644 index 0000000..614c53b --- /dev/null +++ b/covas_mobile_new/l10n.yaml @@ -0,0 +1,5 @@ +arb-dir: lib/l10n +template-arb-file: app_en.arb +output-localization-file: app_localizations.dart +output-class: AppLocalizations +output-dir: lib/gen_l10n diff --git a/covas_mobile_new/lib/classes/MyDrawer.dart b/covas_mobile_new/lib/classes/MyDrawer.dart index 8fcf62c..e1b95ce 100644 --- a/covas_mobile_new/lib/classes/MyDrawer.dart +++ b/covas_mobile_new/lib/classes/MyDrawer.dart @@ -15,7 +15,7 @@ import 'package:encrypt_shared_preferences/provider.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; class MyDrawer extends StatelessWidget with ShowAlertDialog { Future logout(BuildContext context) async { diff --git a/covas_mobile_new/lib/classes/notification_service.dart b/covas_mobile_new/lib/classes/notification_service.dart index 4ff081e..4784e0e 100644 --- a/covas_mobile_new/lib/classes/notification_service.dart +++ b/covas_mobile_new/lib/classes/notification_service.dart @@ -3,7 +3,7 @@ import 'package:timezone/timezone.dart' as tz; import 'package:timezone/data/latest_all.dart' as tz; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; class NotificationService { @@ -78,8 +78,6 @@ class NotificationService { ), androidScheduleMode: AndroidScheduleMode .inexactAllowWhileIdle, // évite l'erreur Exact Alarm - uiLocalNotificationDateInterpretation: - UILocalNotificationDateInterpretation.absoluteTime, matchDateTimeComponents: DateTimeComponents.dateAndTime, ); } diff --git a/covas_mobile_new/lib/l10n/app_localizations.dart b/covas_mobile_new/lib/gen_l10n/app_localizations.dart similarity index 99% rename from covas_mobile_new/lib/l10n/app_localizations.dart rename to covas_mobile_new/lib/gen_l10n/app_localizations.dart index 502fa07..3335313 100644 --- a/covas_mobile_new/lib/l10n/app_localizations.dart +++ b/covas_mobile_new/lib/gen_l10n/app_localizations.dart @@ -19,7 +19,7 @@ import 'app_localizations_fr.dart'; /// `supportedLocales` list. For example: /// /// ```dart -/// import 'l10n/app_localizations.dart'; +/// import 'gen_l10n/app_localizations.dart'; /// /// return MaterialApp( /// localizationsDelegates: AppLocalizations.localizationsDelegates, diff --git a/covas_mobile_new/lib/l10n/app_localizations_de.dart b/covas_mobile_new/lib/gen_l10n/app_localizations_de.dart similarity index 100% rename from covas_mobile_new/lib/l10n/app_localizations_de.dart rename to covas_mobile_new/lib/gen_l10n/app_localizations_de.dart diff --git a/covas_mobile_new/lib/l10n/app_localizations_en.dart b/covas_mobile_new/lib/gen_l10n/app_localizations_en.dart similarity index 100% rename from covas_mobile_new/lib/l10n/app_localizations_en.dart rename to covas_mobile_new/lib/gen_l10n/app_localizations_en.dart diff --git a/covas_mobile_new/lib/l10n/app_localizations_fr.dart b/covas_mobile_new/lib/gen_l10n/app_localizations_fr.dart similarity index 100% rename from covas_mobile_new/lib/l10n/app_localizations_fr.dart rename to covas_mobile_new/lib/gen_l10n/app_localizations_fr.dart diff --git a/covas_mobile_new/lib/main.dart b/covas_mobile_new/lib/main.dart index cba36b6..af9c6ed 100644 --- a/covas_mobile_new/lib/main.dart +++ b/covas_mobile_new/lib/main.dart @@ -4,7 +4,7 @@ import 'package:provider/provider.dart'; import 'pages/LoginDemo.dart'; import 'locale_provider.dart'; // <-- à adapter selon ton arborescence -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'classes/notification_service.dart'; void main() async { diff --git a/covas_mobile_new/lib/pages/AddProfile.dart b/covas_mobile_new/lib/pages/AddProfile.dart index 5888f57..a49af47 100644 --- a/covas_mobile_new/lib/pages/AddProfile.dart +++ b/covas_mobile_new/lib/pages/AddProfile.dart @@ -14,7 +14,7 @@ import '../variable/globals.dart' as globals; import '../classes/ad_helper.dart'; import 'package:google_mobile_ads/google_mobile_ads.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé plus loin diff --git a/covas_mobile_new/lib/pages/Camera.dart b/covas_mobile_new/lib/pages/Camera.dart index 0189dc0..a29fa76 100644 --- a/covas_mobile_new/lib/pages/Camera.dart +++ b/covas_mobile_new/lib/pages/Camera.dart @@ -8,7 +8,7 @@ import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé plus loin diff --git a/covas_mobile_new/lib/pages/CameraEdit.dart b/covas_mobile_new/lib/pages/CameraEdit.dart index 408e8fc..f4c276f 100644 --- a/covas_mobile_new/lib/pages/CameraEdit.dart +++ b/covas_mobile_new/lib/pages/CameraEdit.dart @@ -9,7 +9,7 @@ import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé diff --git a/covas_mobile_new/lib/pages/DisplayPictureScreen.dart b/covas_mobile_new/lib/pages/DisplayPictureScreen.dart index aea3380..107521d 100644 --- a/covas_mobile_new/lib/pages/DisplayPictureScreen.dart +++ b/covas_mobile_new/lib/pages/DisplayPictureScreen.dart @@ -18,7 +18,7 @@ import '../classes/ad_helper.dart'; import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé diff --git a/covas_mobile_new/lib/pages/EditEvent.dart b/covas_mobile_new/lib/pages/EditEvent.dart index d0519c3..37ef215 100644 --- a/covas_mobile_new/lib/pages/EditEvent.dart +++ b/covas_mobile_new/lib/pages/EditEvent.dart @@ -23,7 +23,7 @@ import '../classes/ad_helper.dart'; import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé diff --git a/covas_mobile_new/lib/pages/EditProfile.dart b/covas_mobile_new/lib/pages/EditProfile.dart index ff62847..f2e42e8 100644 --- a/covas_mobile_new/lib/pages/EditProfile.dart +++ b/covas_mobile_new/lib/pages/EditProfile.dart @@ -19,7 +19,7 @@ import '../classes/ad_helper.dart'; import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé diff --git a/covas_mobile_new/lib/pages/EditSettings.dart b/covas_mobile_new/lib/pages/EditSettings.dart index c6e36f9..e169b8a 100644 --- a/covas_mobile_new/lib/pages/EditSettings.dart +++ b/covas_mobile_new/lib/pages/EditSettings.dart @@ -15,7 +15,7 @@ import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé diff --git a/covas_mobile_new/lib/pages/ForgotPassword.dart b/covas_mobile_new/lib/pages/ForgotPassword.dart index fb216c1..1d876f5 100644 --- a/covas_mobile_new/lib/pages/ForgotPassword.dart +++ b/covas_mobile_new/lib/pages/ForgotPassword.dart @@ -12,7 +12,7 @@ import '../classes/alert.dart'; import '../variable/globals.dart' as globals; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // diff --git a/covas_mobile_new/lib/pages/ItemMenu.dart b/covas_mobile_new/lib/pages/ItemMenu.dart index def7c59..0f1d492 100644 --- a/covas_mobile_new/lib/pages/ItemMenu.dart +++ b/covas_mobile_new/lib/pages/ItemMenu.dart @@ -26,7 +26,7 @@ import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // diff --git a/covas_mobile_new/lib/pages/ListItemByOrganizers.dart b/covas_mobile_new/lib/pages/ListItemByOrganizers.dart index 65bc4f7..228a8fb 100644 --- a/covas_mobile_new/lib/pages/ListItemByOrganizers.dart +++ b/covas_mobile_new/lib/pages/ListItemByOrganizers.dart @@ -15,7 +15,7 @@ import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // import '../classes/notification_service.dart'; diff --git a/covas_mobile_new/lib/pages/ListItemByTags.dart b/covas_mobile_new/lib/pages/ListItemByTags.dart index 1dbd8df..cf5d805 100644 --- a/covas_mobile_new/lib/pages/ListItemByTags.dart +++ b/covas_mobile_new/lib/pages/ListItemByTags.dart @@ -16,7 +16,7 @@ import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // import '../classes/notification_service.dart'; diff --git a/covas_mobile_new/lib/pages/ListItemMenu.dart b/covas_mobile_new/lib/pages/ListItemMenu.dart index 7ce2daf..ee26b23 100644 --- a/covas_mobile_new/lib/pages/ListItemMenu.dart +++ b/covas_mobile_new/lib/pages/ListItemMenu.dart @@ -20,7 +20,7 @@ import '../classes/ad_helper.dart'; import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // Créé plus loin import '../classes/notification_service.dart'; diff --git a/covas_mobile_new/lib/pages/LoginDemo.dart b/covas_mobile_new/lib/pages/LoginDemo.dart index d6dd224..1152928 100644 --- a/covas_mobile_new/lib/pages/LoginDemo.dart +++ b/covas_mobile_new/lib/pages/LoginDemo.dart @@ -9,7 +9,7 @@ import '../classes/alert.dart'; import '../classes/ad_helper.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // diff --git a/covas_mobile_new/lib/pages/MapboxPages.dart b/covas_mobile_new/lib/pages/MapboxPages.dart index 549bc96..a345fcc 100644 --- a/covas_mobile_new/lib/pages/MapboxPages.dart +++ b/covas_mobile_new/lib/pages/MapboxPages.dart @@ -14,7 +14,7 @@ import '../classes/MyDrawer.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // diff --git a/covas_mobile_new/lib/pages/UpdateEventImage.dart b/covas_mobile_new/lib/pages/UpdateEventImage.dart index 0a08e25..e2e3e43 100644 --- a/covas_mobile_new/lib/pages/UpdateEventImage.dart +++ b/covas_mobile_new/lib/pages/UpdateEventImage.dart @@ -21,7 +21,7 @@ import 'package:google_mobile_ads/google_mobile_ads.dart'; import '../classes/auth_service.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:covas_mobile/gen_l10n/app_localizations.dart'; import 'package:provider/provider.dart'; import '../locale_provider.dart'; // diff --git a/covas_mobile_new/macos/Flutter/GeneratedPluginRegistrant.swift b/covas_mobile_new/macos/Flutter/GeneratedPluginRegistrant.swift index c21fe97..f6178c4 100644 --- a/covas_mobile_new/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/covas_mobile_new/macos/Flutter/GeneratedPluginRegistrant.swift @@ -8,6 +8,7 @@ import Foundation import file_selector_macos import flutter_local_notifications import geolocator_apple +import package_info_plus import path_provider_foundation import shared_preferences_foundation import url_launcher_macos @@ -17,6 +18,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin")) GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) + FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) diff --git a/covas_mobile_new/pubspec.lock b/covas_mobile_new/pubspec.lock index efb6d40..bebcfb5 100644 --- a/covas_mobile_new/pubspec.lock +++ b/covas_mobile_new/pubspec.lock @@ -25,6 +25,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.13.0" + benchmark: + dependency: transitive + description: + name: benchmark + sha256: cb3eeea01e3f054df76ee9775ca680f3afa5f19f39b2bb426ba78ba27654493b + url: "https://pub.dev" + source: hosted + version: "0.3.0" boolean_selector: dependency: transitive description: @@ -129,6 +137,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.8" + dart_sort_queue: + dependency: transitive + description: + name: dart_sort_queue + sha256: f3353ba8b4850e072d3368757f62edb79af34a9703c3e3df9c59342721f5f5b1 + url: "https://pub.dev" + source: hosted + version: "0.0.2+3" date_format_field: dependency: "direct main" description: @@ -189,10 +205,10 @@ packages: dependency: "direct main" description: name: encrypt_shared_preferences - sha256: "9be57e1f224d6f4353bdfa79de16b364ec7dddf38840c3288c547f262e50bbad" + sha256: f864d44f8e2cc87685ae6fd649a63e1e97dbdbe411fa134786122e2925d9ec7c url: "https://pub.dev" source: hosted - version: "0.8.9" + version: "0.9.10" extension_discovery: dependency: transitive description: @@ -274,50 +290,58 @@ packages: dependency: "direct main" description: name: flutter_dotenv - sha256: b7c7be5cd9f6ef7a78429cabd2774d3c4af50e79cb2b7593e3d5d763ef95c61b + sha256: d4130c4a43e0b13fefc593bc3961f2cb46e30cb79e253d4a526b1b5d24ae1ce4 url: "https://pub.dev" source: hosted - version: "5.2.1" + version: "6.0.0" flutter_gemini: dependency: "direct main" description: name: flutter_gemini - sha256: "993765fafb595e5d32153f393b9c5e71f853caa5bef123d292c21f672d2b9675" + sha256: b7264b1d19acc4b1a5628a0e26c0976aa1fb948f0d3243bc3510ff51e09476b7 url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "3.0.0" flutter_lints: dependency: "direct dev" description: name: flutter_lints - sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" + sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "6.0.0" flutter_local_notifications: dependency: "direct main" description: name: flutter_local_notifications - sha256: "674173fd3c9eda9d4c8528da2ce0ea69f161577495a9cc835a2a4ecd7eadeb35" + sha256: a9966c850de5e445331b854fa42df96a8020066d67f125a5964cbc6556643f68 url: "https://pub.dev" source: hosted - version: "17.2.4" + version: "19.4.1" flutter_local_notifications_linux: dependency: transitive description: name: flutter_local_notifications_linux - sha256: c49bd06165cad9beeb79090b18cd1eb0296f4bf4b23b84426e37dd7c027fc3af + sha256: e3c277b2daab8e36ac5a6820536668d07e83851aeeb79c446e525a70710770a5 url: "https://pub.dev" source: hosted - version: "4.0.1" + version: "6.0.0" flutter_local_notifications_platform_interface: dependency: transitive description: name: flutter_local_notifications_platform_interface - sha256: "85f8d07fe708c1bdcf45037f2c0109753b26ae077e9d9e899d55971711a4ea66" + sha256: "277d25d960c15674ce78ca97f57d0bae2ee401c844b6ac80fcd972a9c99d09fe" url: "https://pub.dev" source: hosted - version: "7.2.0" + version: "9.1.0" + flutter_local_notifications_windows: + dependency: transitive + description: + name: flutter_local_notifications_windows + sha256: ed46d7ae4ec9d19e4c8fa2badac5fe27ba87a3fe387343ce726f927af074ec98 + url: "https://pub.dev" + source: hosted + version: "1.0.2" flutter_localizations: dependency: "direct main" description: flutter @@ -341,30 +365,30 @@ packages: description: flutter source: sdk version: "0.0.0" - freezed_annotation: + geoclue: dependency: transitive description: - name: freezed_annotation - sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2 + name: geoclue + sha256: c2a998c77474fc57aa00c6baa2928e58f4b267649057a1c76738656e9dbd2a7f url: "https://pub.dev" source: hosted - version: "2.4.4" + version: "0.1.1" geolocator: dependency: "direct main" description: name: geolocator - sha256: f62bcd90459e63210bbf9c35deb6a51c521f992a78de19a1fe5c11704f9530e2 + sha256: "79939537046c9025be47ec645f35c8090ecadb6fe98eba146a0d25e8c1357516" url: "https://pub.dev" source: hosted - version: "13.0.4" + version: "14.0.2" geolocator_android: dependency: transitive description: name: geolocator_android - sha256: fcb1760a50d7500deca37c9a666785c047139b5f9ee15aa5469fae7dbbe3170d + sha256: "179c3cb66dfa674fc9ccbf2be872a02658724d1c067634e2c427cf6df7df901a" url: "https://pub.dev" source: hosted - version: "4.6.2" + version: "5.0.2" geolocator_apple: dependency: transitive description: @@ -373,6 +397,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.13" + geolocator_linux: + dependency: transitive + description: + name: geolocator_linux + sha256: c4e966f0a7a87e70049eac7a2617f9e16fd4c585a26e4330bdfc3a71e6a721f3 + url: "https://pub.dev" + source: hosted + version: "0.2.3" geolocator_platform_interface: dependency: transitive description: @@ -397,14 +429,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.2.5" + geotypes: + dependency: transitive + description: + name: geotypes + sha256: "5bedf57de92283133dd221e363812ef50eaaba414f0823b1974ef7d84b86991f" + url: "https://pub.dev" + source: hosted + version: "0.0.2" google_mobile_ads: dependency: "direct main" description: name: google_mobile_ads - sha256: "0d4a3744b5e8ed1b8be6a1b452d309f811688855a497c6113fc4400f922db603" + sha256: a4f59019f2c32769fb6c60ed8aa321e9c21a36297e2c4f23452b3e779a3e7a26 url: "https://pub.dev" source: hosted - version: "5.3.1" + version: "6.0.0" + gsettings: + dependency: transitive + description: + name: gsettings + sha256: "1b0ce661f5436d2db1e51f3c4295a49849f03d304003a7ba177d01e3a858249c" + url: "https://pub.dev" + source: hosted + version: "0.2.8" http: dependency: "direct main" description: @@ -497,10 +545,10 @@ packages: dependency: transitive description: name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 + sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc" url: "https://pub.dev" source: hosted - version: "0.6.7" + version: "0.7.2" json_annotation: dependency: transitive description: @@ -545,10 +593,10 @@ packages: dependency: transitive description: name: lints - sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" + sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "6.0.0" logging: dependency: transitive description: @@ -557,6 +605,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.0" + mapbox_maps_flutter: + dependency: "direct main" + description: + name: mapbox_maps_flutter + sha256: "9afe65d06230c6fe368859329ec76f0f9b31558c210a6711c1e0644b2109c525" + url: "https://pub.dev" + source: hosted + version: "2.10.0" matcher: dependency: transitive description: @@ -585,10 +641,10 @@ packages: dependency: transitive description: name: mime - sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" + sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" url: "https://pub.dev" source: hosted - version: "1.0.6" + version: "2.0.0" nested: dependency: transitive description: @@ -597,6 +653,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.0" + package_info_plus: + dependency: transitive + description: + name: package_info_plus + sha256: "16eee997588c60225bda0488b6dcfac69280a6b7a3cf02c741895dd370a02968" + url: "https://pub.dev" + source: hosted + version: "8.3.1" + package_info_plus_platform_interface: + dependency: transitive + description: + name: package_info_plus_platform_interface + sha256: "202a487f08836a592a6bd4f901ac69b3a8f146af552bbd14407b6b41e1c3f086" + url: "https://pub.dev" + source: hosted + version: "3.2.1" path: dependency: "direct main" description: @@ -657,18 +729,18 @@ packages: dependency: "direct main" description: name: permission_handler - sha256: "59adad729136f01ea9e35a48f5d1395e25cba6cea552249ddbe9cf950f5d7849" + sha256: bc917da36261b00137bbc8896bf1482169cd76f866282368948f032c8c1caae1 url: "https://pub.dev" source: hosted - version: "11.4.0" + version: "12.0.1" permission_handler_android: dependency: transitive description: name: permission_handler_android - sha256: d3971dcdd76182a0c198c096b5db2f0884b0d4196723d21a866fc4cdea057ebc + sha256: "1e3bc410ca1bf84662104b100eb126e066cb55791b7451307f9708d4007350e6" url: "https://pub.dev" source: hosted - version: "12.1.0" + version: "13.0.1" permission_handler_apple: dependency: transitive description: @@ -749,6 +821,14 @@ packages: url: "https://pub.dev" source: hosted version: "6.1.5+1" + rbush: + dependency: transitive + description: + name: rbush + sha256: "48b683421b4afb43a642f82c6aa31911e54f3069143d31c7d33cbe329df13403" + url: "https://pub.dev" + source: hosted + version: "1.1.1" shared_preferences: dependency: "direct main" description: @@ -874,6 +954,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.4.1" + sweepline_intersections: + dependency: transitive + description: + name: sweepline_intersections + sha256: a665c707200a4f07140a4029b41a7c4883beb3f04322cd8e08ebf650f69e1176 + url: "https://pub.dev" + source: hosted + version: "0.0.4" term_glyph: dependency: transitive description: @@ -902,10 +990,34 @@ packages: dependency: "direct main" description: name: timezone - sha256: "2236ec079a174ce07434e89fcd3fcda430025eb7692244139a9cf54fdcf1fc7d" + sha256: dd14a3b83cfd7cb19e7888f1cbc20f258b8d71b54c06f79ac585f14093a287d1 url: "https://pub.dev" source: hosted - version: "0.9.4" + version: "0.10.1" + turf: + dependency: transitive + description: + name: turf + sha256: "75347c45a5c1de805db7cb182286f05a3770e01546626c4dc292709d15cbe436" + url: "https://pub.dev" + source: hosted + version: "0.0.10" + turf_equality: + dependency: transitive + description: + name: turf_equality + sha256: f0f44ffe389547941358e0d3d4a747db2bd56115b32ff1cede5e5bdf3126a3e2 + url: "https://pub.dev" + source: hosted + version: "0.1.0" + turf_pip: + dependency: transitive + description: + name: turf_pip + sha256: ba4fd414baffd5d7b30880658ad6db82461c49ec023f8ffd0c23d398ad8b14be + url: "https://pub.dev" + source: hosted + version: "0.0.2" typed_data: dependency: transitive description: @@ -1074,6 +1186,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.23.0" + win32: + dependency: transitive + description: + name: win32 + sha256: "66814138c3562338d05613a6e368ed8cfb237ad6d64a9e9334be3f309acfca03" + url: "https://pub.dev" + source: hosted + version: "5.14.0" xdg_directories: dependency: transitive description: diff --git a/covas_mobile_new/pubspec.yaml b/covas_mobile_new/pubspec.yaml index 6c86a73..11f865a 100644 --- a/covas_mobile_new/pubspec.yaml +++ b/covas_mobile_new/pubspec.yaml @@ -18,7 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.17.6 <3.0.0" + #sdk: ">=2.17.6 <3.0.0" + sdk: ">=3.0.0 <4.0.0" # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -36,8 +37,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - flutter_local_notifications: ^17.2.0 - timezone: ^0.9.4 + flutter_local_notifications: ^19.4.1 + timezone: ^0.10.1 cupertino_icons: ^1.0.2 http: ^1.2.1 shared_preferences: ^2.2.3 @@ -46,17 +47,18 @@ dependencies: camera_web: ^0.3.3 path_provider: ^2.1.3 path: ^1.9.0 - flutter_gemini: ^2.0.4 - flutter_dotenv: ^5.1.0 + flutter_gemini: ^3.0.0 + flutter_dotenv: ^6.0.0 image_picker: ^1.1.2 date_format_field: ^0.1.0 textfield_tags: ^3.0.1 - geolocator: ^13.0.1 - permission_handler: ^11.3.1 + geolocator: ^14.0.2 + permission_handler: ^12.0.1 url_launcher: ^6.3.1 - google_mobile_ads: ^5.3.1 - encrypt_shared_preferences: ^0.8.8 + google_mobile_ads: ^6.0.0 + encrypt_shared_preferences: ^0.9.10 provider: ^6.1.2 # ou la dernière version + mapbox_maps_flutter: ^2.10.0 dev_dependencies: flutter_test: @@ -67,7 +69,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^4.0.0 + flutter_lints: ^6.0.0 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec @@ -75,7 +77,6 @@ dev_dependencies: # The following section is specific to Flutter packages. flutter: generate: true - # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. diff --git a/covas_mobile_new/windows/flutter/generated_plugins.cmake b/covas_mobile_new/windows/flutter/generated_plugins.cmake index 92c9a0d..954663e 100644 --- a/covas_mobile_new/windows/flutter/generated_plugins.cmake +++ b/covas_mobile_new/windows/flutter/generated_plugins.cmake @@ -10,6 +10,7 @@ list(APPEND FLUTTER_PLUGIN_LIST ) list(APPEND FLUTTER_FFI_PLUGIN_LIST + flutter_local_notifications_windows ) set(PLUGIN_BUNDLED_LIBRARIES)