Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get address #76

Closed
fardeen9983 opened this issue Jun 2, 2020 · 1 comment
Closed

Unable to get address #76

fardeen9983 opened this issue Jun 2, 2020 · 1 comment

Comments

@fardeen9983
Copy link

The following is the code is sed to fetch LocationResult:

 LocationResult locResult =   await showLocationPicker(context, googleAPI);

The logs

I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/chatty  ( 3232): uid=10697(app.brentt.locallo) Thread-14 identical 1 line
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
W/.brentt.locall( 3232): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/chatty  ( 3232): uid=10697(app.brentt.locallo) Thread-14 identical 11 lines
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/chatty  ( 3232): uid=10697(app.brentt.locallo) Thread-14 identical 3 lines
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/flutter ( 3232): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter ( 3232): RangeError (index): Invalid value: Valid value range is empty: 0
I/chatty  ( 3232): uid=10697(app.brentt.locallo) Thread-14 identical 2 lines
I/flutter ( 3232): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/flutter ( 3232): RangeError (index): Invalid value: Valid value range is empty: 0
I/flutter ( 3232): package:google_map_location_picker/src/map.dart 331:7 | GeolocationStatus.granted
I/flutter ( 3232): RangeError (index): Invalid value: Valid value range is empty: 0

The above logs are just repeated over and over again. Also, the address bar in the maps page keeps on loading and returns null on done action. Also, do I need to enable places API for search. If I am correct it is not free, right?

@humazed
Copy link
Owner

humazed commented Jun 13, 2020

delicate of #16

@humazed humazed closed this as completed Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants