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

PlaceType enum is missing mappings #354

Closed
ChasakisD opened this issue Jan 9, 2020 · 2 comments
Closed

PlaceType enum is missing mappings #354

ChasakisD opened this issue Jan 9, 2020 · 2 comments
Assignees
Projects

Comments

@ChasakisD
Copy link

ChasakisD commented Jan 9, 2020

Version 3.5.0

App Crashes and there is no way to catch that exception. Please sync the library with the Google Places API.

Exception: tourist_attraction has no associated enum value in PlaceType on this platform.

Unhandled Exception:
System.NotSupportedException: tourist_attraction has no associated enum value in PlaceType on this platform.
  at Google.Places.PlaceTypeExtensions.GetValue (Foundation.NSString constant) [0x0082e] in <f93e8174f2244446be6a465f88ca7944>:0 
  at Google.Places.AutocompletePrediction+<>c.<get_Types>b__14_0 (System.IntPtr ptr) [0x00007] in <f93e8174f2244446be6a465f88ca7944>:0 
  at Foundation.NSArray.ArrayFromHandleFunc[T] (System.IntPtr handle, System.Func`2[T,TResult] createObject) [0x00027] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/Foundation/NSArray.cs:353 
  at Google.Places.AutocompletePrediction.get_Types () [0x0002b] in <f93e8174f2244446be6a465f88ca7944>:0 
  at MyApp.Xamarin.Google.Places.iOS.GoogleMapsPlacesService+<>c.<GetLocationPredictionsAsync>b__2_1 (Google.Places.AutocompletePrediction p) [0x00022] in <ac770904c18c41fa99420d1b66186960>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () [0x00014] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/Select.cs:252 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:30 

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

Unhandled Exception:
System.NotSupportedException: supermarket has no associated enum value in PlaceType on this platform.
  at Google.Places.PlaceTypeExtensions.GetValue (Foundation.NSString constant) [0x0082e] in <f93e8174f2244446be6a465f88ca7944>:0 
  at Google.Places.AutocompletePrediction+<>c.<get_Types>b__14_0 (System.IntPtr ptr) [0x00007] in <f93e8174f2244446be6a465f88ca7944>:0 
  at Foundation.NSArray.ArrayFromHandleFunc[T] (System.IntPtr handle, System.Func`2[T,TResult] createObject) [0x00027] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/Foundation/NSArray.cs:353 
  at Google.Places.AutocompletePrediction.get_Types () [0x0002b] in <f93e8174f2244446be6a465f88ca7944>:0 
  at MyApp.Xamarin.Google.Places.iOS.GoogleMapsPlacesService+<>c.<GetLocationPredictionsAsync>b__2_1 (Google.Places.AutocompletePrediction p) [0x00022] in <ac770904c18c41fa99420d1b66186960>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () [0x00014] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/Select.cs:252 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:30 

Exception3: continent has no associated enum value in PlaceType on this platform.

Unhandled Exception:
System.NotSupportedException: continent has no associated enum value in PlaceType on this platform. (System.NotSupportedException)
  at Google.Places.PlaceTypeExtensions.GetValue (Foundation.NSString constant) [0x0082e] in <f93e8174f2244446be6a465f88ca7944>:0 
  at Google.Places.AutocompletePrediction+<>c.<get_Types>b__14_0 (System.IntPtr ptr) [0x00007] in <f93e8174f2244446be6a465f88ca7944>:0 
  at Foundation.NSArray.ArrayFromHandleFunc[T] (System.IntPtr handle, System.Func`2[T,TResult] createObject) [0x00027] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/Foundation/NSArray.cs:353 
  at Google.Places.AutocompletePrediction.get_Types () [0x0002b] in <f93e8174f2244446be6a465f88ca7944>:0 
  at MyApp.Xamarin.Google.Places.iOS.GoogleMapsPlacesService+<>c.<GetLocationPredictionsAsync>b__2_1 (Google.Places.AutocompletePrediction p) [0x00022] in <ac770904c18c41fa99420d1b66186960>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () [0x00014] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/Select.cs:252 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:30 
@ChasakisD ChasakisD changed the title PlaceType enum is missing mapping for tourist_attraction PlaceType enum is missing mappings Jan 9, 2020
@Redth Redth added this to Needs triage in Triage Jan 10, 2020
@SotoiGhost SotoiGhost self-assigned this Feb 5, 2020
@SotoiGhost SotoiGhost added the investigating Currently investigating issue label Feb 6, 2020
@SotoiGhost
Copy link
Contributor

@ChasakisD We have released Google Places v3.7.0. Please, update and let us know your results. Hope this helps you! Best!

@SotoiGhost SotoiGhost added needs-info and removed investigating Currently investigating issue labels Feb 25, 2020
@SotoiGhost SotoiGhost moved this from Needs triage to Needs Info in Triage Feb 25, 2020
@Redth
Copy link
Member

Redth commented Mar 12, 2020

We are closing this issue since no response was received. Please open a new issue referring to this one if you have more information.

@Redth Redth closed this as completed Mar 12, 2020
Triage automation moved this from Needs Info to Closed Mar 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Triage
  
Closed
Development

No branches or pull requests

3 participants