- 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

@@ -4,8 +4,8 @@ FLUTTER_APPLICATION_PATH=/Users/bijoy/Documents/package/map_camera_location_flut
COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=0.0.6
FLUTTER_BUILD_NUMBER=0.0.6
FLUTTER_BUILD_NAME=2.0.0
FLUTTER_BUILD_NUMBER=2.0.0
EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
EXCLUDED_ARCHS[sdk=iphoneos*]=armv7
DART_OBFUSCATION=false

View File

@@ -5,8 +5,8 @@ export "FLUTTER_APPLICATION_PATH=/Users/bijoy/Documents/package/map_camera_locat
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=0.0.6"
export "FLUTTER_BUILD_NUMBER=0.0.6"
export "FLUTTER_BUILD_NAME=2.0.0"
export "FLUTTER_BUILD_NUMBER=2.0.0"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false"

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