Support module Google Places autocomplete

#1

Hi guys!
I really need this module: https://github.com/tolu360/react-native-google-places but I think it is not supported by exponent, right?

1 Like

#2

At the moment, if you want to use packages which require react-native link to install, you need to detach.

0 Likes

#3

That’s a bummer. Is there anyway to implement a google places input without native modules?

seems like theres a few packages that may avoid native dependencies by using fetch?

https://www.npmjs.com/package/react-native-google-places-web

0 Likes

#4

I would also love to see a solution for the google places api that would not mean detaching.

1 Like

#5

This one seems promising:

0 Likes

#6

Anyone have any luck with this package? I followed the docs and spent half a day, while running Expo but couldn’t get it firing. I’m developing for both android and ios using redux and mapview. I’m just wondering if anyone has got it working and therefore worth the time to pursue further?

0 Likes

#7

@misterdjack I am currently using FaridSafi/react-native-google-places-autocomplete in one of my projects. Works very weel, but it does not show the map.
?
Can you specify more about the problem you are having

0 Likes

#8

Thank you so much for the reply. After reading it motivated me and I went through again and got it working!

0 Likes

#9

@arcomito @misterdjack @dikaiosune @esganzerla @minibbjd @thiagoterleski

hello guys,
im also using the same module for places in my project but im not able to hide the listView.
Im also using the prop listViewDisplayed=“auto”.
Even that doesnt helps…

Code at: https://snack.expo.io/Skd57d2r-

Im using exactly same code just for trial but the listView is taking my half screen.

Any help will be highly appreciated guyss!!!

0 Likes

#10

You can’t customize it as the one mentioned in the main post. Check :https://github.com/tolu360/react-native-google-places#using-your-own-custom-uiviews

0 Likes

#11

Hi, I am using this one:

Works ok with expo, but now I am trying to configure the API credentials for the apk, and I don’t know how to restrict it, with this one, can’t get the results, error 403

I Think I can’t use IP or URL, any help?? Locally works perfect, but when I build the apk only the map works but the Autocomplete no…

Thanks…

0 Likes