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

[Update] Google Maps and Places for iOS v3.1.0 #285

Merged
merged 2 commits into from
Jun 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Google.Maps/component/component.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 3.0.3.0
version: 3.1.0.0
name: Google Maps for iOS
id: googleiosmaps
publisher: Xamarin Inc.
Expand All @@ -15,7 +15,7 @@ libraries:
is_shell: true
packages:
ios-unified:
- Xamarin.Google.iOS.Maps, Version=3.0.3.0
- Xamarin.Google.iOS.Maps, Version=3.1.0.0
samples:
- name: Google Maps Sample
path: ../samples/GoogleMapsSample/GoogleMapsSample.sln
Expand Down
2 changes: 1 addition & 1 deletion Google.Maps/externals/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ platform :ios, '9.0'
install! 'cocoapods', :integrate_targets => false

target 'GoogleMaps' do
pod 'GoogleMaps', '3.0.3'
pod 'GoogleMaps', '3.1.0'
end
2 changes: 1 addition & 1 deletion Google.Maps/nuget/Xamarin.Google.iOS.Maps.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Xamarin.Google.iOS.Maps</id>
<title>Google APIs Maps iOS Library</title>
<version>3.0.3.0</version>
<version>3.1.0.0</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
Expand Down
12 changes: 2 additions & 10 deletions Google.Maps/source/Google.Maps/Google.Maps.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

<PropertyGroup>
<_GoogleMapsAssemblyName>Google.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_GoogleMapsAssemblyName>
<_GoogleMapsItemsFolder>GMps-3.0.3</_GoogleMapsItemsFolder>
<_GoogleMapsItemsFolder>GMps-3.1.0</_GoogleMapsItemsFolder>
<_GoogleMapsSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleMapsItemsFolder)\Maps\Frameworks\</_GoogleMapsSDKBaseFolder>
<_GoogleMapsBaseSDKBaseFolder>$(XamarinBuildDownloadDir)$(_GoogleMapsItemsFolder)\Base\Frameworks\</_GoogleMapsBaseSDKBaseFolder>
</PropertyGroup>

<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')">
<XamarinBuildDownload Include="$(_GoogleMapsItemsFolder)">
<Url>https://dl.google.com/dl/cpdc/4fb8b2192f32cf7c/GoogleMaps-3.0.3.tar.gz</Url>
<Url>https://dl.google.com/dl/cpdc/d308af63f78a5a1a/GoogleMaps-3.1.0.tar.gz</Url>
<Kind>Tgz</Kind>
</XamarinBuildDownload>
<NativeReference Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework">
Expand Down Expand Up @@ -379,10 +379,6 @@
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_fit.lproj_fGMSCore.strings</LogicalName>
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
</RestoreAssemblyResource>
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\iw.lproj\GMSCore.strings">
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_fiw.lproj_fGMSCore.strings</LogicalName>
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
</RestoreAssemblyResource>
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\ja.lproj\GMSCore.strings">
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_fja.lproj_fGMSCore.strings</LogicalName>
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
Expand Down Expand Up @@ -411,10 +407,6 @@
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_fnl.lproj_fGMSCore.strings</LogicalName>
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
</RestoreAssemblyResource>
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\no.lproj\GMSCore.strings">
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_fno.lproj_fGMSCore.strings</LogicalName>
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
</RestoreAssemblyResource>
<RestoreAssemblyResource Include="$(_GoogleMapsSDKBaseFolder)GoogleMaps.framework\Resources\GoogleMaps.bundle\GMSCoreResources.bundle\pl.lproj\GMSCore.strings">
<LogicalName>__monotouch_content_GoogleMaps.bundle_fGMSCoreResources.bundle_fpl.lproj_fGMSCore.strings</LogicalName>
<AssemblyName>$(_GoogleMapsAssemblyName)</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion Google.Maps/source/Google.Maps/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion ("1.0.0.0")]
[assembly: AssemblyFileVersion("3.0.3.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
4 changes: 2 additions & 2 deletions Google.Places/component/component.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 3.0.3.0
version: 3.1.0.0
name: Google Places for iOS
id: googleiosplaces
publisher: Xamarin Inc.
Expand All @@ -15,7 +15,7 @@ libraries:
is_shell: true
packages:
ios-unified:
- Xamarin.Google.iOS.Places, Version=3.0.3.0
- Xamarin.Google.iOS.Places, Version=3.1.0.0
samples:
- name: Google Places Sample
path: ../samples/GooglePlacesSample/GooglePlacesSample.sln
Expand Down
2 changes: 1 addition & 1 deletion Google.Places/externals/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ platform :ios, '9.0'
install! 'cocoapods', :integrate_targets => false

target 'GoogleMaps' do
pod 'GooglePlaces', '3.0.3'
pod 'GooglePlaces', '3.1.0'
end
4 changes: 2 additions & 2 deletions Google.Places/nuget/Xamarin.Google.iOS.Places.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Xamarin.Google.iOS.Places</id>
<title>Google APIs Places iOS Library</title>
<version>3.0.3.0</version>
<version>3.1.0.0</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
Expand All @@ -14,7 +14,7 @@
<iconUrl>https://raw.githubusercontent.com/xamarin/GoogleApisForiOSComponents/master/icons/googleiosplaces_128x128.png</iconUrl>
<dependencies>
<group targetFramework="Xamarin.iOS10">
<dependency id="Xamarin.Google.iOS.Maps" version="3.0.3.0" />
<dependency id="Xamarin.Google.iOS.Maps" version="3.1.0.0" />
<dependency id="Xamarin.Build.Download" version="0.4.11" />
</group>
</dependencies>
Expand Down
9 changes: 8 additions & 1 deletion Google.Places/source/Google.Places/ApiDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,23 @@ namespace Google.Places
interface AddressComponent
{
// @property(nonatomic, readonly, copy) NSString *type;
[Obsolete ("Type property is deprecated in favor of Types.")]
[BindAs (typeof (PlaceType))]
[Export ("type")]
NSString Type { get; }

// @property (readonly, nonatomic, strong) NSArray<NSString *> * _Nonnull types;
[BindAs (typeof (PlaceType []))]
[Export ("types", ArgumentSemantic.Strong)]
NSString [] Types { get; }

// @property(nonatomic, readonly, copy) NSString *name;
[Export ("name")]
string Name { get; }

// @property (readonly, copy, nonatomic) NSString * _Nullable shortName;
[NullAllowed, Export ("shortName")]
[NullAllowed]
[Export ("shortName")]
string ShortName { get; }
}

Expand Down
Loading