From ec599ce9408d7869049677e9e3c9aeaee402f6a4 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 23 Aug 2024 04:04:08 +0530 Subject: [PATCH 1/7] refactor: replaced all occurences of geocoding_ios to geocoding_darwin --- geocoding_ios/CHANGELOG.md | 29 ++----------------- geocoding_ios/README.md | 7 +++-- .../lib/plugin_example/geocode_page.dart | 6 ++-- geocoding_ios/example/pubspec.yaml | 6 ++-- ...g_ios.podspec => geocoding_darwin.podspec} | 4 +-- ...ocoding_ios.dart => geocoding_darwin.dart} | 4 +-- geocoding_ios/pubspec.yaml | 7 +++-- geocoding_ios/test/geocoding_test.dart | 10 +++---- 8 files changed, 25 insertions(+), 48 deletions(-) rename geocoding_ios/ios/{geocoding_ios.podspec => geocoding_darwin.podspec} (87%) rename geocoding_ios/lib/{geocoding_ios.dart => geocoding_darwin.dart} (94%) diff --git a/geocoding_ios/CHANGELOG.md b/geocoding_ios/CHANGELOG.md index ffaa32c..498819b 100644 --- a/geocoding_ios/CHANGELOG.md +++ b/geocoding_ios/CHANGELOG.md @@ -1,28 +1,3 @@ -## 3.0.1 +## 3.1.0 -* Adds privacy manifest. - -## 3.0.0 - -* **BREAKING CHANGES**: - * Removes the `localeIdentifier` argument from all methods. Use method `setLocaleIdentifier` to configure the locale. - * Removes old iOS version checks and expects iOS 12 and above. (minimal iOS version is 12 per 2.2.0) -* Fixes to configure the locale. -* Updated example app with locale example. - -## 2.3.0 - -* Implements `isPresent` that always returns true. - -## 2.2.0 - -* Updates `geocoding_platform_interface` to version 3.1.0. -* Updates minimal iOS version of the example application to 12. - -## 2.1.1 - -* Removes obsolete version check in `toPlacemarkDictionary`. This removes kABPersonAddressStreetKey deprecation warning from occurring. - -## 2.1.0 - -* Splits from `geocoding` as a federated implementation. +- Renames the package previously published as [`geocoding_ios`](https://pub.dev/packages/geocoding_ios) diff --git a/geocoding_ios/README.md b/geocoding_ios/README.md index b607089..7f1abf1 100644 --- a/geocoding_ios/README.md +++ b/geocoding_ios/README.md @@ -1,11 +1,12 @@ -# geocoding\_ios +# geocoding_darwin The iOS implementation of [`geocoding`][1]. ## Usage This package is [endorsed][2], which means you can simply use `geocoding` -normally. This package will be automatically included in your app when you do. +normally. This package will be automatically included in your app when you do, +so you do not need to add it to your `pubspec.yaml`. [1]: https://pub.dev/packages/geocoding -[2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin \ No newline at end of file +[2]: https://flutter.dev/to/endorsed-federated-plugin diff --git a/geocoding_ios/example/lib/plugin_example/geocode_page.dart b/geocoding_ios/example/lib/plugin_example/geocode_page.dart index 138a0f4..a3a485e 100644 --- a/geocoding_ios/example/lib/plugin_example/geocode_page.dart +++ b/geocoding_ios/example/lib/plugin_example/geocode_page.dart @@ -1,12 +1,12 @@ import 'package:flutter/material.dart'; -import 'package:geocoding_ios/geocoding_ios.dart'; +import 'package:geocoding_darwin/geocoding_darwin.dart'; import '../template/globals.dart'; /// Example [Widget] showing the use of the Geocode plugin class GeocodeWidget extends StatefulWidget { /// Constructs the [GeocodeWidget] class - const GeocodeWidget({Key? key}) : super(key: key); + const GeocodeWidget({super.key}); @override State createState() => _GeocodeWidgetState(); @@ -17,7 +17,7 @@ class _GeocodeWidgetState extends State { final TextEditingController _latitudeController = TextEditingController(); final TextEditingController _longitudeController = TextEditingController(); String _output = ''; - final GeocodingIOS _geocodingIOS = GeocodingIOS(); + final GeocodingDarwin _geocodingIOS = GeocodingDarwin(); @override void initState() { diff --git a/geocoding_ios/example/pubspec.yaml b/geocoding_ios/example/pubspec.yaml index e12f7c2..fa42e63 100644 --- a/geocoding_ios/example/pubspec.yaml +++ b/geocoding_ios/example/pubspec.yaml @@ -1,4 +1,4 @@ -name: geocoding_ios_example +name: geocoding_darwin_example description: Demonstrates how to use the geocoding plugin. # The following line prevents the package from being accidentally published to @@ -13,9 +13,9 @@ dependencies: flutter: sdk: flutter - geocoding_ios: + geocoding_darwin: # When depending on this package from a real application you should use: - # geocoding_ios: ^x.y.z + # geocoding_darwin: ^x.y.z # See https://dart.dev/tools/pub/dependencies#version-constraints # The example app is bundled with the plugin so we use a path dependency on # the parent directory to use the current plugin's version. diff --git a/geocoding_ios/ios/geocoding_ios.podspec b/geocoding_ios/ios/geocoding_darwin.podspec similarity index 87% rename from geocoding_ios/ios/geocoding_ios.podspec rename to geocoding_ios/ios/geocoding_darwin.podspec index 8d3dabb..d943317 100644 --- a/geocoding_ios/ios/geocoding_ios.podspec +++ b/geocoding_ios/ios/geocoding_darwin.podspec @@ -3,7 +3,7 @@ # Run `pod lib lint geocoding.podspec' to validate before publishing. # Pod::Spec.new do |s| - s.name = 'geocoding_ios' + s.name = 'geocoding_darwin' s.version = '1.0.5' s.summary = 'A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features.' s.description = <<-DESC @@ -20,5 +20,5 @@ A new flutter plugin project. # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } - s.resource_bundles = {'geocoding_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']} + s.resource_bundles = {'geocoding_darwin_privacy' => ['Resources/PrivacyInfo.xcprivacy']} end diff --git a/geocoding_ios/lib/geocoding_ios.dart b/geocoding_ios/lib/geocoding_darwin.dart similarity index 94% rename from geocoding_ios/lib/geocoding_ios.dart rename to geocoding_ios/lib/geocoding_darwin.dart index 234dbb6..fd9d667 100644 --- a/geocoding_ios/lib/geocoding_ios.dart +++ b/geocoding_ios/lib/geocoding_darwin.dart @@ -6,10 +6,10 @@ import 'package:geocoding_platform_interface/geocoding_platform_interface.dart'; const MethodChannel _channel = MethodChannel('flutter.baseflow.com/geocoding'); /// An implementation of [GeocodingPlatform] for iOS. -class GeocodingIOS extends GeocodingPlatform { +class GeocodingDarwin extends GeocodingPlatform { /// Registers this class as the default instance of [GeocodingPlatform]. static void registerWith() { - GeocodingPlatform.instance = GeocodingIOS(); + GeocodingPlatform.instance = GeocodingDarwin(); } String? _localeIdentifier; diff --git a/geocoding_ios/pubspec.yaml b/geocoding_ios/pubspec.yaml index fc0cb41..30a179a 100644 --- a/geocoding_ios/pubspec.yaml +++ b/geocoding_ios/pubspec.yaml @@ -1,7 +1,7 @@ -name: geocoding_ios +name: geocoding_darwin description: A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features. version: 3.0.1 -repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_ios +repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_darwin issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues environment: @@ -36,4 +36,5 @@ flutter: platforms: ios: pluginClass: GeocodingPlugin - dartPluginClass: GeocodingIOS + dartPluginClass: GeocodingDarwin + sharedDarwinSource: true diff --git a/geocoding_ios/test/geocoding_test.dart b/geocoding_ios/test/geocoding_test.dart index b87799a..a2f5953 100644 --- a/geocoding_ios/test/geocoding_test.dart +++ b/geocoding_ios/test/geocoding_test.dart @@ -1,6 +1,6 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:geocoding_ios/geocoding_ios.dart'; +import 'package:geocoding_darwin/geocoding_darwin.dart'; import 'package:geocoding_platform_interface/geocoding_platform_interface.dart'; final mockLocation = Location( @@ -40,8 +40,8 @@ void main() { }); test('registers instance', () { - GeocodingIOS.registerWith(); - expect(GeocodingPlatform.instance, isA()); + GeocodingDarwin.registerWith(); + expect(GeocodingPlatform.instance, isA()); }); group('GeocodingAndroid', () { @@ -55,7 +55,7 @@ void main() { ]); }); - final geocoding = GeocodingIOS(); + final geocoding = GeocodingDarwin(); final locations = await (geocoding.locationFromAddress('')); expect( @@ -80,7 +80,7 @@ void main() { ]); }); - final geocoding = GeocodingIOS(); + final geocoding = GeocodingDarwin(); final locations = await (geocoding.placemarkFromCoordinates(0, 0)); expect( From c31088e7fbc8a03a7b1c3fb88366c92db0fa41c3 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 23 Aug 2024 04:11:55 +0530 Subject: [PATCH 2/7] refactor: renamed dir ios to darwin --- geocoding_ios/{ios => darwin}/Assets/.gitkeep | 0 .../{ios => darwin}/Classes/Extensions/CLPlacemarkExtensions.h | 0 .../{ios => darwin}/Classes/Extensions/CLPlacemarkExtensions.m | 0 geocoding_ios/{ios => darwin}/Classes/GeocodingHandler.h | 0 geocoding_ios/{ios => darwin}/Classes/GeocodingHandler.m | 0 geocoding_ios/{ios => darwin}/Classes/GeocodingPlugin.h | 0 geocoding_ios/{ios => darwin}/Classes/GeocodingPlugin.m | 2 +- geocoding_ios/{ios => darwin}/Resources/PrivacyInfo.xcprivacy | 0 geocoding_ios/{ios => darwin}/geocoding_darwin.podspec | 0 9 files changed, 1 insertion(+), 1 deletion(-) rename geocoding_ios/{ios => darwin}/Assets/.gitkeep (100%) rename geocoding_ios/{ios => darwin}/Classes/Extensions/CLPlacemarkExtensions.h (100%) rename geocoding_ios/{ios => darwin}/Classes/Extensions/CLPlacemarkExtensions.m (100%) rename geocoding_ios/{ios => darwin}/Classes/GeocodingHandler.h (100%) rename geocoding_ios/{ios => darwin}/Classes/GeocodingHandler.m (100%) rename geocoding_ios/{ios => darwin}/Classes/GeocodingPlugin.h (100%) rename geocoding_ios/{ios => darwin}/Classes/GeocodingPlugin.m (98%) rename geocoding_ios/{ios => darwin}/Resources/PrivacyInfo.xcprivacy (100%) rename geocoding_ios/{ios => darwin}/geocoding_darwin.podspec (100%) diff --git a/geocoding_ios/ios/Assets/.gitkeep b/geocoding_ios/darwin/Assets/.gitkeep similarity index 100% rename from geocoding_ios/ios/Assets/.gitkeep rename to geocoding_ios/darwin/Assets/.gitkeep diff --git a/geocoding_ios/ios/Classes/Extensions/CLPlacemarkExtensions.h b/geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.h similarity index 100% rename from geocoding_ios/ios/Classes/Extensions/CLPlacemarkExtensions.h rename to geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.h diff --git a/geocoding_ios/ios/Classes/Extensions/CLPlacemarkExtensions.m b/geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.m similarity index 100% rename from geocoding_ios/ios/Classes/Extensions/CLPlacemarkExtensions.m rename to geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.m diff --git a/geocoding_ios/ios/Classes/GeocodingHandler.h b/geocoding_ios/darwin/Classes/GeocodingHandler.h similarity index 100% rename from geocoding_ios/ios/Classes/GeocodingHandler.h rename to geocoding_ios/darwin/Classes/GeocodingHandler.h diff --git a/geocoding_ios/ios/Classes/GeocodingHandler.m b/geocoding_ios/darwin/Classes/GeocodingHandler.m similarity index 100% rename from geocoding_ios/ios/Classes/GeocodingHandler.m rename to geocoding_ios/darwin/Classes/GeocodingHandler.m diff --git a/geocoding_ios/ios/Classes/GeocodingPlugin.h b/geocoding_ios/darwin/Classes/GeocodingPlugin.h similarity index 100% rename from geocoding_ios/ios/Classes/GeocodingPlugin.h rename to geocoding_ios/darwin/Classes/GeocodingPlugin.h diff --git a/geocoding_ios/ios/Classes/GeocodingPlugin.m b/geocoding_ios/darwin/Classes/GeocodingPlugin.m similarity index 98% rename from geocoding_ios/ios/Classes/GeocodingPlugin.m rename to geocoding_ios/darwin/Classes/GeocodingPlugin.m index 136a764..7fb57b3 100644 --- a/geocoding_ios/ios/Classes/GeocodingPlugin.m +++ b/geocoding_ios/darwin/Classes/GeocodingPlugin.m @@ -5,7 +5,7 @@ // Created by Maurits van Beusekom on 07/06/2020. // -#import "CLPlacemarkExtensions.h" +#import "Extensions/CLPlacemarkExtensions.h" #import "GeocodingHandler.h" #import "GeocodingPlugin.h" diff --git a/geocoding_ios/ios/Resources/PrivacyInfo.xcprivacy b/geocoding_ios/darwin/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from geocoding_ios/ios/Resources/PrivacyInfo.xcprivacy rename to geocoding_ios/darwin/Resources/PrivacyInfo.xcprivacy diff --git a/geocoding_ios/ios/geocoding_darwin.podspec b/geocoding_ios/darwin/geocoding_darwin.podspec similarity index 100% rename from geocoding_ios/ios/geocoding_darwin.podspec rename to geocoding_ios/darwin/geocoding_darwin.podspec From e4c2a6fe46ffc5bb4b871f1a6d00e2a7aacaf836 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 23 Aug 2024 04:14:52 +0530 Subject: [PATCH 3/7] feat!: renamed geocoding_ios dir to geocoding_darwin --- {geocoding_ios => geocoding_darwin}/.metadata | 0 {geocoding_ios => geocoding_darwin}/CHANGELOG.md | 0 {geocoding_ios => geocoding_darwin}/LICENSE | 0 {geocoding_ios => geocoding_darwin}/README.md | 0 .../analysis_options.yaml | 0 .../darwin/Assets/.gitkeep | 0 .../Classes/Extensions/CLPlacemarkExtensions.h | 0 .../Classes/Extensions/CLPlacemarkExtensions.m | 0 .../darwin/Classes/GeocodingHandler.h | 0 .../darwin/Classes/GeocodingHandler.m | 0 .../darwin/Classes/GeocodingPlugin.h | 0 .../darwin/Classes/GeocodingPlugin.m | 0 .../darwin/Resources/PrivacyInfo.xcprivacy | 0 .../darwin/geocoding_darwin.podspec | 0 .../example/.metadata | 0 .../example/README.md | 0 .../example/ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../example/ios/Podfile | 0 .../example/ios/Runner.xcodeproj/project.pbxproj | 0 .../project.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../ios/Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.h | 0 .../example/ios/Runner/AppDelegate.m | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../Assets.xcassets/LaunchImage.imageset/README.md | 0 .../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0 .../example/ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../example/ios/Runner/main.m | 0 .../example/lib/main.dart | 0 .../example/lib/plugin_example/geocode_page.dart | 0 .../example/lib/template/globals.dart | 0 .../example/lib/template/info_page.dart | 0 .../example/pubspec.yaml | 0 .../res/images/baseflow_logo_def_light-02.png | Bin .../res/images/poweredByBaseflowLogoLight.png | Bin .../res/images/poweredByBaseflowLogoLight@2x.png | Bin .../res/images/poweredByBaseflowLogoLight@3x.png | Bin .../lib/geocoding_darwin.dart | 0 {geocoding_ios => geocoding_darwin}/pubspec.yaml | 0 .../test/geocoding_test.dart | 0 67 files changed, 0 insertions(+), 0 deletions(-) rename {geocoding_ios => geocoding_darwin}/.metadata (100%) rename {geocoding_ios => geocoding_darwin}/CHANGELOG.md (100%) rename {geocoding_ios => geocoding_darwin}/LICENSE (100%) rename {geocoding_ios => geocoding_darwin}/README.md (100%) rename {geocoding_ios => geocoding_darwin}/analysis_options.yaml (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Assets/.gitkeep (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Classes/Extensions/CLPlacemarkExtensions.h (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Classes/Extensions/CLPlacemarkExtensions.m (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Classes/GeocodingHandler.h (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Classes/GeocodingHandler.m (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Classes/GeocodingPlugin.h (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Classes/GeocodingPlugin.m (100%) rename {geocoding_ios => geocoding_darwin}/darwin/Resources/PrivacyInfo.xcprivacy (100%) rename {geocoding_ios => geocoding_darwin}/darwin/geocoding_darwin.podspec (100%) rename {geocoding_ios => geocoding_darwin}/example/.metadata (100%) rename {geocoding_ios => geocoding_darwin}/example/README.md (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Flutter/Debug.xcconfig (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Flutter/Release.xcconfig (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Podfile (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/AppDelegate.h (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/AppDelegate.m (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Base.lproj/Main.storyboard (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/Info.plist (100%) rename {geocoding_ios => geocoding_darwin}/example/ios/Runner/main.m (100%) rename {geocoding_ios => geocoding_darwin}/example/lib/main.dart (100%) rename {geocoding_ios => geocoding_darwin}/example/lib/plugin_example/geocode_page.dart (100%) rename {geocoding_ios => geocoding_darwin}/example/lib/template/globals.dart (100%) rename {geocoding_ios => geocoding_darwin}/example/lib/template/info_page.dart (100%) rename {geocoding_ios => geocoding_darwin}/example/pubspec.yaml (100%) rename {geocoding_ios => geocoding_darwin}/example/res/images/baseflow_logo_def_light-02.png (100%) rename {geocoding_ios => geocoding_darwin}/example/res/images/poweredByBaseflowLogoLight.png (100%) rename {geocoding_ios => geocoding_darwin}/example/res/images/poweredByBaseflowLogoLight@2x.png (100%) rename {geocoding_ios => geocoding_darwin}/example/res/images/poweredByBaseflowLogoLight@3x.png (100%) rename {geocoding_ios => geocoding_darwin}/lib/geocoding_darwin.dart (100%) rename {geocoding_ios => geocoding_darwin}/pubspec.yaml (100%) rename {geocoding_ios => geocoding_darwin}/test/geocoding_test.dart (100%) diff --git a/geocoding_ios/.metadata b/geocoding_darwin/.metadata similarity index 100% rename from geocoding_ios/.metadata rename to geocoding_darwin/.metadata diff --git a/geocoding_ios/CHANGELOG.md b/geocoding_darwin/CHANGELOG.md similarity index 100% rename from geocoding_ios/CHANGELOG.md rename to geocoding_darwin/CHANGELOG.md diff --git a/geocoding_ios/LICENSE b/geocoding_darwin/LICENSE similarity index 100% rename from geocoding_ios/LICENSE rename to geocoding_darwin/LICENSE diff --git a/geocoding_ios/README.md b/geocoding_darwin/README.md similarity index 100% rename from geocoding_ios/README.md rename to geocoding_darwin/README.md diff --git a/geocoding_ios/analysis_options.yaml b/geocoding_darwin/analysis_options.yaml similarity index 100% rename from geocoding_ios/analysis_options.yaml rename to geocoding_darwin/analysis_options.yaml diff --git a/geocoding_ios/darwin/Assets/.gitkeep b/geocoding_darwin/darwin/Assets/.gitkeep similarity index 100% rename from geocoding_ios/darwin/Assets/.gitkeep rename to geocoding_darwin/darwin/Assets/.gitkeep diff --git a/geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.h b/geocoding_darwin/darwin/Classes/Extensions/CLPlacemarkExtensions.h similarity index 100% rename from geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.h rename to geocoding_darwin/darwin/Classes/Extensions/CLPlacemarkExtensions.h diff --git a/geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.m b/geocoding_darwin/darwin/Classes/Extensions/CLPlacemarkExtensions.m similarity index 100% rename from geocoding_ios/darwin/Classes/Extensions/CLPlacemarkExtensions.m rename to geocoding_darwin/darwin/Classes/Extensions/CLPlacemarkExtensions.m diff --git a/geocoding_ios/darwin/Classes/GeocodingHandler.h b/geocoding_darwin/darwin/Classes/GeocodingHandler.h similarity index 100% rename from geocoding_ios/darwin/Classes/GeocodingHandler.h rename to geocoding_darwin/darwin/Classes/GeocodingHandler.h diff --git a/geocoding_ios/darwin/Classes/GeocodingHandler.m b/geocoding_darwin/darwin/Classes/GeocodingHandler.m similarity index 100% rename from geocoding_ios/darwin/Classes/GeocodingHandler.m rename to geocoding_darwin/darwin/Classes/GeocodingHandler.m diff --git a/geocoding_ios/darwin/Classes/GeocodingPlugin.h b/geocoding_darwin/darwin/Classes/GeocodingPlugin.h similarity index 100% rename from geocoding_ios/darwin/Classes/GeocodingPlugin.h rename to geocoding_darwin/darwin/Classes/GeocodingPlugin.h diff --git a/geocoding_ios/darwin/Classes/GeocodingPlugin.m b/geocoding_darwin/darwin/Classes/GeocodingPlugin.m similarity index 100% rename from geocoding_ios/darwin/Classes/GeocodingPlugin.m rename to geocoding_darwin/darwin/Classes/GeocodingPlugin.m diff --git a/geocoding_ios/darwin/Resources/PrivacyInfo.xcprivacy b/geocoding_darwin/darwin/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from geocoding_ios/darwin/Resources/PrivacyInfo.xcprivacy rename to geocoding_darwin/darwin/Resources/PrivacyInfo.xcprivacy diff --git a/geocoding_ios/darwin/geocoding_darwin.podspec b/geocoding_darwin/darwin/geocoding_darwin.podspec similarity index 100% rename from geocoding_ios/darwin/geocoding_darwin.podspec rename to geocoding_darwin/darwin/geocoding_darwin.podspec diff --git a/geocoding_ios/example/.metadata b/geocoding_darwin/example/.metadata similarity index 100% rename from geocoding_ios/example/.metadata rename to geocoding_darwin/example/.metadata diff --git a/geocoding_ios/example/README.md b/geocoding_darwin/example/README.md similarity index 100% rename from geocoding_ios/example/README.md rename to geocoding_darwin/example/README.md diff --git a/geocoding_ios/example/ios/Flutter/AppFrameworkInfo.plist b/geocoding_darwin/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from geocoding_ios/example/ios/Flutter/AppFrameworkInfo.plist rename to geocoding_darwin/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/geocoding_ios/example/ios/Flutter/Debug.xcconfig b/geocoding_darwin/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from geocoding_ios/example/ios/Flutter/Debug.xcconfig rename to geocoding_darwin/example/ios/Flutter/Debug.xcconfig diff --git a/geocoding_ios/example/ios/Flutter/Release.xcconfig b/geocoding_darwin/example/ios/Flutter/Release.xcconfig similarity index 100% rename from geocoding_ios/example/ios/Flutter/Release.xcconfig rename to geocoding_darwin/example/ios/Flutter/Release.xcconfig diff --git a/geocoding_ios/example/ios/Podfile b/geocoding_darwin/example/ios/Podfile similarity index 100% rename from geocoding_ios/example/ios/Podfile rename to geocoding_darwin/example/ios/Podfile diff --git a/geocoding_ios/example/ios/Runner.xcodeproj/project.pbxproj b/geocoding_darwin/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from geocoding_ios/example/ios/Runner.xcodeproj/project.pbxproj rename to geocoding_darwin/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/geocoding_ios/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/geocoding_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from geocoding_ios/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to geocoding_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/geocoding_ios/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/geocoding_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from geocoding_ios/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to geocoding_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/geocoding_ios/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/geocoding_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from geocoding_ios/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to geocoding_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/geocoding_ios/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/geocoding_darwin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from geocoding_ios/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to geocoding_darwin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/geocoding_ios/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/geocoding_darwin/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from geocoding_ios/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to geocoding_darwin/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/geocoding_ios/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/geocoding_darwin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from geocoding_ios/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to geocoding_darwin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/geocoding_ios/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/geocoding_darwin/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from geocoding_ios/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to geocoding_darwin/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/geocoding_ios/example/ios/Runner/AppDelegate.h b/geocoding_darwin/example/ios/Runner/AppDelegate.h similarity index 100% rename from geocoding_ios/example/ios/Runner/AppDelegate.h rename to geocoding_darwin/example/ios/Runner/AppDelegate.h diff --git a/geocoding_ios/example/ios/Runner/AppDelegate.m b/geocoding_darwin/example/ios/Runner/AppDelegate.m similarity index 100% rename from geocoding_ios/example/ios/Runner/AppDelegate.m rename to geocoding_darwin/example/ios/Runner/AppDelegate.m diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from geocoding_ios/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to geocoding_darwin/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/geocoding_ios/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/geocoding_darwin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from geocoding_ios/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to geocoding_darwin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/geocoding_ios/example/ios/Runner/Base.lproj/Main.storyboard b/geocoding_darwin/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from geocoding_ios/example/ios/Runner/Base.lproj/Main.storyboard rename to geocoding_darwin/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/geocoding_ios/example/ios/Runner/Info.plist b/geocoding_darwin/example/ios/Runner/Info.plist similarity index 100% rename from geocoding_ios/example/ios/Runner/Info.plist rename to geocoding_darwin/example/ios/Runner/Info.plist diff --git a/geocoding_ios/example/ios/Runner/main.m b/geocoding_darwin/example/ios/Runner/main.m similarity index 100% rename from geocoding_ios/example/ios/Runner/main.m rename to geocoding_darwin/example/ios/Runner/main.m diff --git a/geocoding_ios/example/lib/main.dart b/geocoding_darwin/example/lib/main.dart similarity index 100% rename from geocoding_ios/example/lib/main.dart rename to geocoding_darwin/example/lib/main.dart diff --git a/geocoding_ios/example/lib/plugin_example/geocode_page.dart b/geocoding_darwin/example/lib/plugin_example/geocode_page.dart similarity index 100% rename from geocoding_ios/example/lib/plugin_example/geocode_page.dart rename to geocoding_darwin/example/lib/plugin_example/geocode_page.dart diff --git a/geocoding_ios/example/lib/template/globals.dart b/geocoding_darwin/example/lib/template/globals.dart similarity index 100% rename from geocoding_ios/example/lib/template/globals.dart rename to geocoding_darwin/example/lib/template/globals.dart diff --git a/geocoding_ios/example/lib/template/info_page.dart b/geocoding_darwin/example/lib/template/info_page.dart similarity index 100% rename from geocoding_ios/example/lib/template/info_page.dart rename to geocoding_darwin/example/lib/template/info_page.dart diff --git a/geocoding_ios/example/pubspec.yaml b/geocoding_darwin/example/pubspec.yaml similarity index 100% rename from geocoding_ios/example/pubspec.yaml rename to geocoding_darwin/example/pubspec.yaml diff --git a/geocoding_ios/example/res/images/baseflow_logo_def_light-02.png b/geocoding_darwin/example/res/images/baseflow_logo_def_light-02.png similarity index 100% rename from geocoding_ios/example/res/images/baseflow_logo_def_light-02.png rename to geocoding_darwin/example/res/images/baseflow_logo_def_light-02.png diff --git a/geocoding_ios/example/res/images/poweredByBaseflowLogoLight.png b/geocoding_darwin/example/res/images/poweredByBaseflowLogoLight.png similarity index 100% rename from geocoding_ios/example/res/images/poweredByBaseflowLogoLight.png rename to geocoding_darwin/example/res/images/poweredByBaseflowLogoLight.png diff --git a/geocoding_ios/example/res/images/poweredByBaseflowLogoLight@2x.png b/geocoding_darwin/example/res/images/poweredByBaseflowLogoLight@2x.png similarity index 100% rename from geocoding_ios/example/res/images/poweredByBaseflowLogoLight@2x.png rename to geocoding_darwin/example/res/images/poweredByBaseflowLogoLight@2x.png diff --git a/geocoding_ios/example/res/images/poweredByBaseflowLogoLight@3x.png b/geocoding_darwin/example/res/images/poweredByBaseflowLogoLight@3x.png similarity index 100% rename from geocoding_ios/example/res/images/poweredByBaseflowLogoLight@3x.png rename to geocoding_darwin/example/res/images/poweredByBaseflowLogoLight@3x.png diff --git a/geocoding_ios/lib/geocoding_darwin.dart b/geocoding_darwin/lib/geocoding_darwin.dart similarity index 100% rename from geocoding_ios/lib/geocoding_darwin.dart rename to geocoding_darwin/lib/geocoding_darwin.dart diff --git a/geocoding_ios/pubspec.yaml b/geocoding_darwin/pubspec.yaml similarity index 100% rename from geocoding_ios/pubspec.yaml rename to geocoding_darwin/pubspec.yaml diff --git a/geocoding_ios/test/geocoding_test.dart b/geocoding_darwin/test/geocoding_test.dart similarity index 100% rename from geocoding_ios/test/geocoding_test.dart rename to geocoding_darwin/test/geocoding_test.dart From 0e61975d159afc03209c536e45a27c2f77a563df Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 23 Aug 2024 04:15:37 +0530 Subject: [PATCH 4/7] fix: version not updated in pubspec --- geocoding_darwin/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geocoding_darwin/pubspec.yaml b/geocoding_darwin/pubspec.yaml index 30a179a..cb2c29f 100644 --- a/geocoding_darwin/pubspec.yaml +++ b/geocoding_darwin/pubspec.yaml @@ -1,6 +1,6 @@ name: geocoding_darwin description: A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features. -version: 3.0.1 +version: 3.1.0 repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_darwin issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues From a4f6ea2847ea6bd109dcb2a0b9827f4abd175e22 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Fri, 23 Aug 2024 05:38:44 +0530 Subject: [PATCH 5/7] refactor: fine tuning --- geocoding_darwin/darwin/Classes/GeocodingPlugin.m | 2 +- .../example/lib/plugin_example/geocode_page.dart | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/geocoding_darwin/darwin/Classes/GeocodingPlugin.m b/geocoding_darwin/darwin/Classes/GeocodingPlugin.m index 7fb57b3..136a764 100644 --- a/geocoding_darwin/darwin/Classes/GeocodingPlugin.m +++ b/geocoding_darwin/darwin/Classes/GeocodingPlugin.m @@ -5,7 +5,7 @@ // Created by Maurits van Beusekom on 07/06/2020. // -#import "Extensions/CLPlacemarkExtensions.h" +#import "CLPlacemarkExtensions.h" #import "GeocodingHandler.h" #import "GeocodingPlugin.h" diff --git a/geocoding_darwin/example/lib/plugin_example/geocode_page.dart b/geocoding_darwin/example/lib/plugin_example/geocode_page.dart index a3a485e..16fe824 100644 --- a/geocoding_darwin/example/lib/plugin_example/geocode_page.dart +++ b/geocoding_darwin/example/lib/plugin_example/geocode_page.dart @@ -17,7 +17,7 @@ class _GeocodeWidgetState extends State { final TextEditingController _latitudeController = TextEditingController(); final TextEditingController _longitudeController = TextEditingController(); String _output = ''; - final GeocodingDarwin _geocodingIOS = GeocodingDarwin(); + final GeocodingDarwin _geocodingDarwin = GeocodingDarwin(); @override void initState() { @@ -78,7 +78,7 @@ class _GeocodeWidgetState extends State { final latitude = double.parse(_latitudeController.text); final longitude = double.parse(_longitudeController.text); - _geocodingIOS + _geocodingDarwin .placemarkFromCoordinates(latitude, longitude) .then((placemarks) { var output = 'No results found.'; @@ -111,7 +111,7 @@ class _GeocodeWidgetState extends State { child: ElevatedButton( child: const Text('Look up location'), onPressed: () { - _geocodingIOS + _geocodingDarwin .locationFromAddress(_addressController.text) .then((locations) { var output = 'No results found.'; @@ -132,7 +132,7 @@ class _GeocodeWidgetState extends State { child: ElevatedButton( child: const Text('Is present'), onPressed: () { - _geocodingIOS.isPresent().then((isPresent) { + _geocodingDarwin.isPresent().then((isPresent) { var output = isPresent ? "Geocoder is present" : "Geocoder is not present"; @@ -148,7 +148,7 @@ class _GeocodeWidgetState extends State { child: ElevatedButton( child: const Text('Set locale en_US'), onPressed: () { - _geocodingIOS.setLocaleIdentifier("en_US").then((_) { + _geocodingDarwin.setLocaleIdentifier("en_US").then((_) { setState(() {}); }); })), @@ -159,7 +159,7 @@ class _GeocodeWidgetState extends State { child: ElevatedButton( child: const Text('Set locale nl_NL'), onPressed: () { - _geocodingIOS.setLocaleIdentifier("nl_NL").then((_) { + _geocodingDarwin.setLocaleIdentifier("nl_NL").then((_) { setState(() {}); }); })), From ac8ba68936f49aee661ae10571cdb012de6ceae2 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Tue, 8 Oct 2024 06:10:21 +0530 Subject: [PATCH 6/7] feat: update workflow for geocoding_darwin --- .github/dependabot.yml | 8 ++++---- .../{geocoding_ios.yaml => geocoding_darwin.yaml} | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) rename .github/workflows/{geocoding_ios.yaml => geocoding_darwin.yaml} (85%) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 91b5bea..f3f7cab 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -100,9 +100,9 @@ updates: open-pull-requests-limit: 10 - package-ecosystem: "pub" - directory: "/geocoding_ios" + directory: "/geocoding_darwin" commit-message: - prefix: "[geocoding_ios]" + prefix: "[geocoding_darwin]" schedule: interval: "weekly" reviewers: @@ -110,9 +110,9 @@ updates: open-pull-requests-limit: 10 - package-ecosystem: "pub" - directory: "/geocoding_ios/example" + directory: "/geocoding_darwin/example" commit-message: - prefix: "[geocoding_ios]" + prefix: "[geocoding_darwin]" schedule: interval: "weekly" reviewers: diff --git a/.github/workflows/geocoding_ios.yaml b/.github/workflows/geocoding_darwin.yaml similarity index 85% rename from .github/workflows/geocoding_ios.yaml rename to .github/workflows/geocoding_darwin.yaml index 4eef06d..f37f7ac 100644 --- a/.github/workflows/geocoding_ios.yaml +++ b/.github/workflows/geocoding_darwin.yaml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: geocoding_ios +name: geocoding_darwin # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the main branch @@ -8,14 +8,14 @@ on: push: branches: [ main ] paths: - - 'geocoding_ios/**' - - '.github/workflows/geocoding_ios.yaml' + - 'geocoding_darwin/**' + - '.github/workflows/geocoding_darwin.yaml' pull_request: branches: [ main ] paths: - - 'geocoding_ios/**' - - '.github/workflows/geocoding_ios.yaml' + - 'geocoding_darwin/**' + - '.github/workflows/geocoding_darwin.yaml' # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -26,8 +26,8 @@ jobs: runs-on: macos-latest env: - source-directory: ./geocoding_ios - example-directory: ./geocoding_ios/example + source-directory: ./geocoding_darwin + example-directory: ./geocoding_darwin/example # Steps represent a sequence of tasks that will be executed as part of the job steps: From bfa74631d3a930c24ac00a6c8f741ab94f0a8fa1 Mon Sep 17 00:00:00 2001 From: OutdatedGuy Date: Tue, 8 Oct 2024 16:40:40 +0530 Subject: [PATCH 7/7] style: apply modern constructor syntax --- geocoding_darwin/example/lib/main.dart | 4 ++-- geocoding_darwin/example/lib/template/info_page.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/geocoding_darwin/example/lib/main.dart b/geocoding_darwin/example/lib/main.dart index db90df3..d4da1d8 100644 --- a/geocoding_darwin/example/lib/main.dart +++ b/geocoding_darwin/example/lib/main.dart @@ -13,7 +13,7 @@ class BaseflowPluginExample extends StatelessWidget { createMaterialColor(const Color.fromRGBO(48, 49, 60, 1)); /// Constructs the [BaseflowPluginExample] class - BaseflowPluginExample({Key? key}) : super(key: key); + BaseflowPluginExample({super.key}); @override Widget build(BuildContext context) { @@ -89,7 +89,7 @@ class BaseflowPluginExample extends StatelessWidget { /// A Flutter example demonstrating how the [pluginName] plugin could be used class AppHome extends StatefulWidget { /// Constructs the [AppHome] class - const AppHome({Key? key, required this.title}) : super(key: key); + const AppHome({super.key, required this.title}); /// The [title] of the application, which is shown in the application's /// title bar. diff --git a/geocoding_darwin/example/lib/template/info_page.dart b/geocoding_darwin/example/lib/template/info_page.dart index 0df0faa..e664649 100644 --- a/geocoding_darwin/example/lib/template/info_page.dart +++ b/geocoding_darwin/example/lib/template/info_page.dart @@ -6,7 +6,7 @@ import 'globals.dart'; /// [StatelessWidget] displaying information about Baseflow class InfoPage extends StatelessWidget { /// Constructs the [InfoPage] class - const InfoPage({Key? key}) : super(key: key); + const InfoPage({super.key}); @override Widget build(BuildContext context) {