Skip to content

Commit 26ba93e

Browse files
PankovSergematanshukry
authored andcommitted
3. Bumped up version to 0.1.6
* Add 'placeTypes' property in 'GMSAutocompletePrediction'
1 parent 8a788e5 commit 26ba93e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

flutter_google_places_sdk_ios/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.6
2+
3+
* Add 'placeTypes' property in 'GMSAutocompletePrediction'
4+
15
## 0.1.5
26

37
* Upgrade to Google Places 8.5.0 and Google Maps 7.1.0

flutter_google_places_sdk_ios/ios/Classes/SwiftFlutterGooglePlacesSdkIosPlugin.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ public class SwiftFlutterGooglePlacesSdkIosPlugin: NSObject, FlutterPlugin {
311311
"primaryText": prediction.attributedPrimaryText.string,
312312
"secondaryText": prediction.attributedSecondaryText?.string ?? "",
313313
"fullText": prediction.attributedFullText.string
314+
"placeTypes": prediction.types.map { (it) in return it.uppercased() }
314315
];
315316
}
316317

flutter_google_places_sdk_ios/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_google_places_sdk_ios
22
description: The iOS implementation of Flutter plugin for google places sdk
3-
version: 0.1.5
3+
version: 0.1.6
44
homepage: https://github.com/matanshukry/flutter_google_places_sdk/tree/master/flutter_google_places_sdk_ios
55

66
environment:

0 commit comments

Comments
 (0)