fluttercommunity / flutter_google_places

Google Places - Google places autocomplete widgets for flutter. No wrapper, use https://pub.dev/packages/google_maps_webservice. Maintainer: @juliansteenbakker
https://pub.dev/packages/flutter_google_places
Other
304 stars 415 forks source link

Not all the search location work #96

Closed ziasultan2 closed 2 years ago

ziasultan2 commented 4 years ago

When I try to search some location it doesn't give me lat, long it shows this error Ex. Burger King, Hylan Boulevard, Staten Island, NY, USA Please have a look and let me know how to solve this and thank you for this package. It saves a lots of time of mine

[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(Error 8, kCLErrorDomain, The operation couldn’t be completed. (kCLErrorDomain error 8.))

0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)

1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:316:33)

#2 LocalGeocoding.findAddressesFromQuery (package:geocoder/services/local.dart:18:43) #3 _MapLocationState.displayPrediction (package:user/ui/order/map_location.dart:154:42) #4 _MapLocationState.build. (package:user/ui/order/map_location.dart:123:21) #5 _TextFieldSelectionGestureDetectorBuilder.onSingleTapUp (package:flutter/src/material/text_field.dart:105:21) #6 _TextSelectionGestureDetectorState._handleTapUp (package:flutter/src/widgets/text_selection.dart:1264:16) #7 TapGestureRecognizer._check<…>
juliansteenbakker commented 2 years ago

I'm closing this for now because of activity. Please upgrade to the latest version and feel free to comment if this issue still exists.