finds.dev← search

// the find

FaridSafi/react-native-google-places-autocomplete

★ 2,069 · JavaScript · MIT · updated Sep 2026

Customizable Google Places autocomplete component for iOS and Android React-Native apps

A React Native autocomplete input that calls Google's Places Autocomplete web endpoints directly, with optional place-details lookup, nearby search for the current location, and predefined places. It suits React Native apps that want Places search without Google's native SDKs and are willing to make and own the HTTP calls.

Because it skips Google's iOS and Android SDKs, there is no native dependency to keep in step with Google's releases, and the bundle stays small. In-flight XHR requests are cancelled when the user keeps typing, and a debounce prop limits request volume, so fast typing does not stack up stale responses. It ships TypeScript definitions and a Jest suite covering autocomplete, debounce, query strings, rendering and results. The styles prop is keyed by element and paired with suppressDefaultStyles, so the default look can be replaced without forking the component.

The API key goes in the query prop, so it ends up in the JavaScript bundle of every installed app and anyone can extract it. The README says the library does not work with application key restrictions, which leaves a mobile app open to billing abuse unless it proxies requests through a server. Current location needs a separate geolocation package plus a global navigator.geolocation assignment in app code, and the feature depends on that line being right. Web support needs a CORS proxy, and the README's example is a public demo proxy, which is not something to build production on. The props table is labelled a work in progress and has defects: the enableHighAccuracyLocation description repeats itself in one cell, and several default columns are blank.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →