- Mise à jour VERSION vers 3.3.4 - Optimisations et révisions architecture API (deploy-api.sh, scripts de migration) - Ajout documentation Stripe Tap to Pay complète - Migration vers polices Inter Variable pour Flutter - Optimisations build Android et nettoyage fichiers temporaires - Amélioration système de déploiement avec gestion backups - Ajout scripts CRON et migrations base de données 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
363 lines
12 KiB
Dart
363 lines
12 KiB
Dart
//
|
|
// Generated file. Do not edit.
|
|
// This file is generated from template in file `flutter_tools/lib/src/flutter_plugins.dart`.
|
|
//
|
|
|
|
// @dart = 3.0
|
|
|
|
import 'dart:io'; // flutter_ignore: dart_io_import.
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
|
import 'package:geolocator_android/geolocator_android.dart';
|
|
import 'package:image_picker_android/image_picker_android.dart';
|
|
import 'package:path_provider_android/path_provider_android.dart';
|
|
import 'package:url_launcher_android/url_launcher_android.dart';
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
|
import 'package:geolocator_apple/geolocator_apple.dart';
|
|
import 'package:image_picker_ios/image_picker_ios.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:url_launcher_ios/url_launcher_ios.dart';
|
|
import 'package:battery_plus/battery_plus.dart';
|
|
import 'package:connectivity_plus/connectivity_plus.dart';
|
|
import 'package:device_info_plus/device_info_plus.dart';
|
|
import 'package:file_selector_linux/file_selector_linux.dart';
|
|
import 'package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart';
|
|
import 'package:image_picker_linux/image_picker_linux.dart';
|
|
import 'package:network_info_plus/network_info_plus.dart';
|
|
import 'package:package_info_plus/package_info_plus.dart';
|
|
import 'package:path_provider_linux/path_provider_linux.dart';
|
|
import 'package:url_launcher_linux/url_launcher_linux.dart';
|
|
import 'package:file_selector_macos/file_selector_macos.dart';
|
|
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
|
import 'package:geolocator_apple/geolocator_apple.dart';
|
|
import 'package:image_picker_macos/image_picker_macos.dart';
|
|
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
|
import 'package:url_launcher_macos/url_launcher_macos.dart';
|
|
import 'package:device_info_plus/device_info_plus.dart';
|
|
import 'package:file_selector_windows/file_selector_windows.dart';
|
|
import 'package:flutter_local_notifications_windows/flutter_local_notifications_windows.dart';
|
|
import 'package:image_picker_windows/image_picker_windows.dart';
|
|
import 'package:network_info_plus/network_info_plus.dart';
|
|
import 'package:package_info_plus/package_info_plus.dart';
|
|
import 'package:path_provider_windows/path_provider_windows.dart';
|
|
import 'package:url_launcher_windows/url_launcher_windows.dart';
|
|
|
|
@pragma('vm:entry-point')
|
|
class _PluginRegistrant {
|
|
|
|
@pragma('vm:entry-point')
|
|
static void register() {
|
|
if (Platform.isAndroid) {
|
|
try {
|
|
AndroidFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
GeolocatorAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`geolocator_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherAndroid.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_android` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isIOS) {
|
|
try {
|
|
IOSFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
GeolocatorApple.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`geolocator_apple` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderFoundation.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_foundation` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherIOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_ios` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isLinux) {
|
|
try {
|
|
BatteryPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`battery_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ConnectivityPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`connectivity_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
DeviceInfoPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`device_info_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
LinuxFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
NetworkInfoPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`network_info_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PackageInfoPlusLinuxPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`package_info_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherLinux.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_linux` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isMacOS) {
|
|
try {
|
|
FileSelectorMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
MacOSFlutterLocalNotificationsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
GeolocatorApple.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`geolocator_apple` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderFoundation.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_foundation` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherMacOS.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_macos` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
} else if (Platform.isWindows) {
|
|
try {
|
|
DeviceInfoPlusWindowsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`device_info_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FileSelectorWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`file_selector_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
FlutterLocalNotificationsWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`flutter_local_notifications_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
ImagePickerWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`image_picker_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
NetworkInfoPlusWindowsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`network_info_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PackageInfoPlusWindowsPlugin.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`package_info_plus` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
PathProviderWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`path_provider_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
try {
|
|
UrlLauncherWindows.registerWith();
|
|
} catch (err) {
|
|
print(
|
|
'`url_launcher_windows` threw an error: $err. '
|
|
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
|
);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|