Skip to content

Commit 30a17ff

Browse files
committed
Implements new platform_interface (v4)
1 parent 55e9912 commit 30a17ff

33 files changed

Lines changed: 5371 additions & 1355 deletions

geocoding_android/CHANGELOG.md

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,62 @@
1+
## 5.0.0
2+
3+
- **BREAKING CHANGES:**
4+
- Implements version 4.0.0 of the geocoding_platform_interface.
5+
- Allows passing the `Locale` with the `locationFromAddress`,
6+
`locationFromCoordinates` and `placemarkFromAddress` methods instead of
7+
having to separately set the `setLocaleIdentifier` method (this resolves
8+
potential race condition).
9+
- Changes the `Location.timestamp` field to allow `null` values. Not all
10+
platforms (e.g. Android) specify a timestamp indicating when the
11+
coordinates for an address where resolved.
12+
- Offers access to the Android native `geocoder` API by importing the
13+
`geocoder.dart` library (using: `import "package:geocoding_android/geocoder.dart";`).
14+
115
## 4.0.1
216

3-
* Resolved issue #271 where the app could crash if the onError message was null. The error message is now properly handled as nullable.
17+
- Resolved issue #271 where the app could crash if the onError message was null. The error message is now properly handled as nullable.
418

519
## 4.0.0
620

7-
* **BREAKING CHANGES** Please update to Flutter 3.29+ before updating to this version
8-
* Updates Android CompileSDK to 35
9-
* Migrates example project to applying Gradle plugins with the declarative plugins block
10-
* Updates kotlin version to soon minimal supported Kotlin version `1.8.10`
11-
* Updates Gradle version to `8.11.1`
21+
- **BREAKING CHANGES** Please update to Flutter 3.29+ before updating to this version
22+
- Updates Android CompileSDK to 35
23+
- Migrates example project to applying Gradle plugins with the declarative plugins block
24+
- Updates kotlin version to soon minimal supported Kotlin version `1.8.10`
25+
- Updates Gradle version to `8.11.1`
1226

1327
## 3.3.1
1428

15-
* 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)).
29+
- 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)).
1630

1731
## 3.3.0
1832

19-
* Adds `setLocaleIdentifier` to the Android example app.
33+
- Adds `setLocaleIdentifier` to the Android example app.
2034

2135
## 3.2.0
2236

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

2539
## 3.1.0
2640

27-
* Fixes deprecation build warnings.
28-
* Adds Android API 34 support.
41+
- Fixes deprecation build warnings.
42+
- Adds Android API 34 support.
2943

3044
## 3.0.0
3145

32-
* **BREAKING CHANGES**:
33-
* Updates `geocoding_platform_interface` to version 3.1.0.
34-
* Adds method `setLocaleIdentifier` to set the locale for all calls to the geocoding platform.
35-
* Removes the `localeIdentifier` argument from all methods. Use method `setLocaleIdentifier` to configure the locale.
36-
* Implements `placemarkFromAddress`.
46+
- **BREAKING CHANGES**:
47+
- Updates `geocoding_platform_interface` to version 3.1.0.
48+
- Adds method `setLocaleIdentifier` to set the locale for all calls to the geocoding platform.
49+
- Removes the `localeIdentifier` argument from all methods. Use method `setLocaleIdentifier` to configure the locale.
50+
- Implements `placemarkFromAddress`.
3751

3852
## 2.1.2
3953

40-
* Downgrades Android Gradle plugin to version 7.3.1 so the project is inline with current Flutter stable (version 3.10.5).
54+
- Downgrades Android Gradle plugin to version 7.3.1 so the project is inline with current Flutter stable (version 3.10.5).
4155

4256
## 2.1.1
4357

44-
* Updates the Android Gradle plugin to version 8 and the Android Gradle build tools to version 8.0.2.
58+
- Updates the Android Gradle plugin to version 8 and the Android Gradle build tools to version 8.0.2.
4559

4660
## 2.1.0
4761

48-
* Splits from `geocoding` as a federated implementation.
62+
- Splits from `geocoding` as a federated implementation.

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

Lines changed: 0 additions & 14 deletions
This file was deleted.

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

Lines changed: 0 additions & 143 deletions
This file was deleted.

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

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)