Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 99cec08

Browse files
author
SotoiGhost
committed
[Google][Places] Updated to v3.1.0
* Added missing Places enum values * This fixes #271
1 parent 6aa2ac2 commit 99cec08

File tree

8 files changed

+160
-144
lines changed

8 files changed

+160
-144
lines changed

Google.Places/component/component.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 3.0.3.0
1+
version: 3.1.0.0
22
name: Google Places for iOS
33
id: googleiosplaces
44
publisher: Xamarin Inc.
@@ -15,7 +15,7 @@ libraries:
1515
is_shell: true
1616
packages:
1717
ios-unified:
18-
- Xamarin.Google.iOS.Places, Version=3.0.3.0
18+
- Xamarin.Google.iOS.Places, Version=3.1.0.0
1919
samples:
2020
- name: Google Places Sample
2121
path: ../samples/GooglePlacesSample/GooglePlacesSample.sln

Google.Places/externals/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ platform :ios, '9.0'
44
install! 'cocoapods', :integrate_targets => false
55

66
target 'GoogleMaps' do
7-
pod 'GooglePlaces', '3.0.3'
7+
pod 'GooglePlaces', '3.1.0'
88
end

Google.Places/nuget/Xamarin.Google.iOS.Places.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>Xamarin.Google.iOS.Places</id>
55
<title>Google APIs Places iOS Library</title>
6-
<version>3.0.3.0</version>
6+
<version>3.1.0.0</version>
77
<authors>Microsoft</authors>
88
<owners>Microsoft</owners>
99
<requireLicenseAcceptance>true</requireLicenseAcceptance>
@@ -14,7 +14,7 @@
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/GoogleApisForiOSComponents/master/icons/googleiosplaces_128x128.png</iconUrl>
1515
<dependencies>
1616
<group targetFramework="Xamarin.iOS10">
17-
<dependency id="Xamarin.Google.iOS.Maps" version="3.0.3.0" />
17+
<dependency id="Xamarin.Google.iOS.Maps" version="3.1.0.0" />
1818
<dependency id="Xamarin.Build.Download" version="0.4.11" />
1919
</group>
2020
</dependencies>

Google.Places/source/Google.Places/ApiDefinition.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,23 @@ namespace Google.Places
1414
interface AddressComponent
1515
{
1616
// @property(nonatomic, readonly, copy) NSString *type;
17+
[Obsolete ("Type property is deprecated in favor of Types.")]
1718
[BindAs (typeof (PlaceType))]
1819
[Export ("type")]
1920
NSString Type { get; }
2021

22+
// @property (readonly, nonatomic, strong) NSArray<NSString *> * _Nonnull types;
23+
[BindAs (typeof (PlaceType []))]
24+
[Export ("types", ArgumentSemantic.Strong)]
25+
NSString [] Types { get; }
26+
2127
// @property(nonatomic, readonly, copy) NSString *name;
2228
[Export ("name")]
2329
string Name { get; }
2430

2531
// @property (readonly, copy, nonatomic) NSString * _Nullable shortName;
26-
[NullAllowed, Export ("shortName")]
32+
[NullAllowed]
33+
[Export ("shortName")]
2734
string ShortName { get; }
2835
}
2936

0 commit comments

Comments
 (0)