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

"supermarket" missing from PlaceTypes #401

Open
breyed opened this issue Apr 30, 2020 · 0 comments · May be fixed by #402
Open

"supermarket" missing from PlaceTypes #401

breyed opened this issue Apr 30, 2020 · 0 comments · May be fixed by #402
Projects

Comments

@breyed
Copy link

breyed commented Apr 30, 2020

Google.Places.PlaceType is missing Supermarket. (It has GroceryOrSupermarket, but that is not enough; Places SDK for iOS Place Types contains both supermarket and grocery_or_supermarket.)

An attempt to access the getter for Google.Places.Types where the types include a supermarket causes the getter to throw:

System.NotSupportedException: supermarket has no associated enum value in PlaceType on this platform.

Xamarin.Google.iOS.Places version: 3.7.0.1

This behavior was reported in #271, #296, and #354, all of which have been closed with the request to open a new issue if more information is available. It looks like the link to Google's Place Types docs is the new information you're looking for.

breyed added a commit to breyed/GoogleApisForiOSComponents that referenced this issue Apr 30, 2020
Fixes xamarin#401. This is a breaking change: the type of `Google.Places.Types` is changed from `PlaceType[]` to `string[]`.
@breyed breyed linked a pull request Apr 30, 2020 that will close this issue
@Redth Redth added this to Needs triage in Triage May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Triage
  
Needs triage
Development

Successfully merging a pull request may close this issue.

1 participant