Closed pavel-birdy closed 4 years ago
possible duplicate of #14
I'm closing the current one as a duplicate. If you disagree please write in the comments and I will reopen it.
Sorry it was my fault. I read that but didn't enable Places, Geolocation and Geocoding API. But is this okay if I am still getting some exceptions
I/flutter (10962): onCameraMoveStarted#_lastMapPosition = LatLng(18.570053727657285, 42.768663950264454)
I/flutter (10962): onCameraIdle#_lastMapPosition = LatLng(18.57033849411387, 42.76811745017767)
I/flutter (10962): package:google_map_location_picker/src/map.dart 284:7 | GeolocationStatus.granted
I/flutter (10962): RangeError (index): Invalid value: Valid value range is empty: 0
The only error I see is
RangeError (index): Invalid value: Valid value range is empty: 0
and I'm not sure it's from the library
are you get it using the sample app only?
I am running the sample app. And I just notice I can search but when I tap nothing is happening also not getting the live update like shown in the Gif. 'Unnamed place' everywhere.
there are 3 places to but the api key in, in dart code, in android, and in ios native.
I am not using iPhone so I didn't add api key there. I added inside AndroidManifest.xml and in main.dart I sent these screenshots if I am doing anything wrong. I was trying to debug and when I run on the emulator I succeded to search and navigate to that location but still no update 'Unnamed place' all the time and so many exceptions. I will make a dummy project tomorrow and let you know.
It's working now. It was related to my billing account. I did something wrong over there. Now it's working. Thanks.
I just run the example app and I am getting these exceptions and can't get any location only Lat and Long.