geocoding_darwin

v1.0.3

A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features for iOS and macOS.

Архив пакета: https://pubdev.letsnova.ru/api/archives/geocoding_darwin/1.0.3.tar.gz

Установкаdart pub add geocoding_darwin

README

geocoding_darwin

The Apple Geocoding implementation of geocoding.

Usage

This package is endorsed, which means you can simply use geocoding 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.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

External Native API

The plugin also provides a native API accessible by the native code of iOS applications or packages. This API follows the convention of breaking changes of the Dart API, which means that any changes to the class that are not backwards compatible will only be made with a major version change of the plugin. Native code other than this external API does not follow breaking change conventions, so app or plugin clients should not use any other native APIs.

The API can be accessed by importing the native plugin geocoding_darwin:

Dart:

import 'package:geocoding_darwin/geocoding_darwin.dart';
                

Then you will have access to the native classes CLGeocoder and MapKit.

Contributing

For information on contributing to this plugin, see CONTRIBUTING.md.

История изменений

1.0.3

  • Moves pigeon from dependencies to dev_dependencies. Pigeon is a build-time code generator; the generated geocoding.g.dart does not import it at runtime. Declaring it as a runtime dependency leaked pigeon's analyzer version constraint into consuming apps. This matches geocoding_android, which already declares pigeon under dev_dependencies. Fixes #304.

1.0.2

  • Registers the GeocodingDarwinFactory class as dartPluginClass factory to ensure the plugin automatically registers it self correctly.

1.0.1

  • Updates the example app to demonstrate Darwin-specific native CLGeocoder methods via clgeocoder.dart.

1.0.0

  • Initial release of the geocoding_darwin package containing easy geocoding and reverse-geocoding features for iOS and macOS.