This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
v0.4.2
Add auto fallback to Google Maps for android devices
Geocoding services might not be included in some Android devices (Kindle, some 4.1 - 4.3 devices, non-google devices). For those special cases the lib can fallback to the online google maps geocoding service
import Geocoder from 'react-native-geocoder';
// simply add your google key
Geocoder.fallbackToGoogle(MY_KEY);
// use the lib as usual
let ret = await Geocoder.geocodePosition({lat, lng})
// you get the same results