Skip to content

Commit

Permalink
Removes Android v1 embedding (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom authored May 2, 2024
1 parent 7205995 commit 2fd02b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
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

0 comments on commit 2fd02b2

Please sign in to comment.