Skip to content

Commit

Permalink
http 0.1.4 :
Browse files Browse the repository at this point in the history
* Upgrading `flutter_google_places_sdk_platform_interface` to `0.2.7`
  • Loading branch information
matanshukry committed Sep 29, 2023
1 parent f659fbb commit fdd19d3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions flutter_google_places_sdk_http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.4

* Upgrading `flutter_google_places_sdk_platform_interface` to `0.2.7`

## 0.1.3

* Upgrading flutter_google_places_sdk_platform_interface to 0.2.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class FlutterGooglePlacesSdkHttpPlugin
Future<inter.FindAutocompletePredictionsResponse> findAutocompletePredictions(
String query, {
List<String>? countries,
List<inter.PlaceTypeFilter> placeTypesFilter = const [],
List<String> placeTypesFilter = const [],
bool? newSessionToken,
inter.LatLng? origin,
inter.LatLngBounds? locationBias,
Expand Down Expand Up @@ -95,7 +95,7 @@ class FlutterGooglePlacesSdkHttpPlugin
String _buildAutocompleteUrl(
String query,
List<String>? countries,
List<inter.PlaceTypeFilter> placeTypesFilter,
List<String> placeTypesFilter,
String? sessionToken,
inter.LatLng? origin,
inter.LatLngBounds? locationBias,
Expand All @@ -118,7 +118,7 @@ class FlutterGooglePlacesSdkHttpPlugin

// -- Place Type
placeTypesFilter.forEach((placeType) {
url += '&types=${placeType.value.toLowerCase()}';
url += '&types=${placeType}';
});

// -- Session Token
Expand Down
4 changes: 2 additions & 2 deletions flutter_google_places_sdk_http/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_google_places_sdk_http
description: An http implementation of Flutter plugin to be used by other platform implementation
version: 0.1.3
version: 0.1.4
homepage: https://github.com/matanshukry/flutter_google_places_sdk/tree/master/flutter_google_places_sdk_http

environment:
Expand All @@ -12,7 +12,7 @@ dependencies:
sdk: flutter
http: ^1.1.0
latlong2: ^0.9.0
flutter_google_places_sdk_platform_interface: ^0.2.6
flutter_google_places_sdk_platform_interface: ^0.2.7
freezed_annotation: ^2.3.2
json_annotation: ^4.8.1

Expand Down

0 comments on commit fdd19d3

Please sign in to comment.