- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user