react-native-geocoder icon indicating copy to clipboard operation
react-native-geocoder copied to clipboard

Receiving empty data

Open ramsestom opened this issue 8 years ago • 6 comments

I am testing on an android device (redmi 3 with android 5.1.1 and Google play service installed) and I defined a google api key (server key) but I always receive empty data (no error) no matter what address I passed to the service (I tried 'New York' or 'london' like in the readme or test files so as more complete address with street, postcode, country... but it doesn't work) What am I missing here?

ramsestom avatar Aug 05 '16 15:08 ramsestom

No one can help?

ramsestom avatar Aug 17 '16 14:08 ramsestom

@ramsestom I seem to be having similar issues. I am getting and empty array back from the call. The same code works fine on iOS so my guess is that there is some android configuration I am missing.

mcabs3 avatar Nov 30 '16 19:11 mcabs3

I'm having the same issue here, tested with versions 0.4.5 and 0.4.8 running on a device with Android 7. Seems like RNGeocoder.geocodeAddress always returns an empty array and as the catch blocked is not executed, the GoogleAPI fallback has no effect. Could it be some component missing on the Android device? or a missing permission grant?

flaviogranero avatar Jul 13 '17 13:07 flaviogranero

Anyone managed to resolve this issue? I am getting an empty array from geocodePosition on Samsung S7.

joelowj avatar Jul 30 '17 07:07 joelowj

Has anyone figured out what causes this? I am also seeing an empty array on Android emulator that I am using when calling geocodeAddress.

tirsoh avatar Feb 13 '18 13:02 tirsoh

See https://github.com/devfd/react-native-geocoder/pull/33

felipemartim avatar May 17 '18 16:05 felipemartim