- Updated package version to 1.0.0.

- Updated Flutter and various plugin dependencies to their latest versions.
- Updated Android Gradle configuration to version 8.11.1 and made other necessary adjustments.
- Updated example app configurations for Android, iOS, macOS, Linux, and Windows.
- Updated copyright year in LICENSE file.
- Minor code style update
This commit is contained in:
bijoy
2025-05-20 13:30:23 +06:00
parent 97a7ba8555
commit eb2f82cc91
24 changed files with 111 additions and 93 deletions

View File

@@ -18,6 +18,12 @@
@import flutter_compass;
#endif
#if __has_include(<flutter_rotation_sensor/FlutterRotationSensorPlugin.h>)
#import <flutter_rotation_sensor/FlutterRotationSensorPlugin.h>
#else
@import flutter_rotation_sensor;
#endif
#if __has_include(<geocoding_ios/GeocodingPlugin.h>)
#import <geocoding_ios/GeocodingPlugin.h>
#else
@@ -30,6 +36,12 @@
@import geolocator_apple;
#endif
#if __has_include(<native_device_orientation/NativeDeviceOrientationPlugin.h>)
#import <native_device_orientation/NativeDeviceOrientationPlugin.h>
#else
@import native_device_orientation;
#endif
#if __has_include(<path_provider_foundation/PathProviderPlugin.h>)
#import <path_provider_foundation/PathProviderPlugin.h>
#else
@@ -42,22 +54,17 @@
@import permission_handler_apple;
#endif
#if __has_include(<url_launcher_ios/URLLauncherPlugin.h>)
#import <url_launcher_ios/URLLauncherPlugin.h>
#else
@import url_launcher_ios;
#endif
@implementation GeneratedPluginRegistrant
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
[CameraPlugin registerWithRegistrar:[registry registrarForPlugin:@"CameraPlugin"]];
[FlutterCompassPlugin registerWithRegistrar:[registry registrarForPlugin:@"FlutterCompassPlugin"]];
[FlutterRotationSensorPlugin registerWithRegistrar:[registry registrarForPlugin:@"FlutterRotationSensorPlugin"]];
[GeocodingPlugin registerWithRegistrar:[registry registrarForPlugin:@"GeocodingPlugin"]];
[GeolocatorPlugin registerWithRegistrar:[registry registrarForPlugin:@"GeolocatorPlugin"]];
[NativeDeviceOrientationPlugin registerWithRegistrar:[registry registrarForPlugin:@"NativeDeviceOrientationPlugin"]];
[PathProviderPlugin registerWithRegistrar:[registry registrarForPlugin:@"PathProviderPlugin"]];
[PermissionHandlerPlugin registerWithRegistrar:[registry registrarForPlugin:@"PermissionHandlerPlugin"]];
[URLLauncherPlugin registerWithRegistrar:[registry registrarForPlugin:@"URLLauncherPlugin"]];
}
@end