Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes references to Android v1 embedding. #234

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions geocoding_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
## 3.3.1

* Removes deprecated support for Android V1 embedding as support will be removed from Flutter (see [flutter/flutter#144726](https://github.com/flutter/flutter/pull/144726)).

## 3.3.0

* Added `setLocaleIdentifier` to the Android example app.
* Adds `setLocaleIdentifier` to the Android example app.

## 3.2.0

* Exposes isPresent() call that returns true if there is a geocoder implementation present that may return results.
* Exposes isPresent() call that returns true if there is a geocoder implementation present that may return results.

## 3.1.0

* Fixes deprecation build warnings.
* Adds Android API 34 support.
* Fixes deprecation build warnings.
* Adds Android API 34 support.

## 3.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@ public final class GeocodingPlugin implements FlutterPlugin {
@Nullable private MethodCallHandlerImpl methodCallHandler;
@Nullable private Geocoding geocoding;

/**
* Registers a plugin implementation that uses the stable {@code io.flutter.plugin.common}
* package.
*
* <p>Calling this automatically initializes the plugin. However, plugins initialized this way
* won't react to changes in activity or context, unlike {@link GeocodingPlugin}.
*/
@SuppressWarnings("deprecation")
public static void registerWith(io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
MethodCallHandlerImpl handler =
new MethodCallHandlerImpl(new Geocoding(registrar.activeContext()));
handler.startListening(registrar.messenger());
}

@Override
public void onAttachedToEngine(@NonNull FlutterPluginBinding binding) {
geocoding = new Geocoding(binding.getApplicationContext());
Expand Down
2 changes: 1 addition & 1 deletion geocoding_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: geocoding_android
description: A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features.
version: 3.3.0
version: 3.3.1
repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_android
issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues

Expand Down