Skip to content

Commit 2fd02b2

Browse files
authored
Removes Android v1 embedding (Baseflow#234)
1 parent 7205995 commit 2fd02b2

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

geocoding_android/CHANGELOG.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1+
## 3.3.1
2+
3+
* 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)).
4+
15
## 3.3.0
26

3-
* Added `setLocaleIdentifier` to the Android example app.
7+
* Adds `setLocaleIdentifier` to the Android example app.
48

59
## 3.2.0
610

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

913
## 3.1.0
1014

11-
* Fixes deprecation build warnings.
12-
* Adds Android API 34 support.
15+
* Fixes deprecation build warnings.
16+
* Adds Android API 34 support.
1317

1418
## 3.0.0
1519

geocoding_android/android/src/main/java/com/baseflow/geocoding/GeocodingPlugin.java

-14
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,6 @@ public final class GeocodingPlugin implements FlutterPlugin {
1515
@Nullable private MethodCallHandlerImpl methodCallHandler;
1616
@Nullable private Geocoding geocoding;
1717

18-
/**
19-
* Registers a plugin implementation that uses the stable {@code io.flutter.plugin.common}
20-
* package.
21-
*
22-
* <p>Calling this automatically initializes the plugin. However, plugins initialized this way
23-
* won't react to changes in activity or context, unlike {@link GeocodingPlugin}.
24-
*/
25-
@SuppressWarnings("deprecation")
26-
public static void registerWith(io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
27-
MethodCallHandlerImpl handler =
28-
new MethodCallHandlerImpl(new Geocoding(registrar.activeContext()));
29-
handler.startListening(registrar.messenger());
30-
}
31-
3218
@Override
3319
public void onAttachedToEngine(@NonNull FlutterPluginBinding binding) {
3420
geocoding = new Geocoding(binding.getApplicationContext());

geocoding_android/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: geocoding_android
22
description: A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features.
3-
version: 3.3.0
3+
version: 3.3.1
44
repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_android
55
issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues
66

0 commit comments

Comments
 (0)