Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

v0.4.2

Compare
Choose a tag to compare
@devfd devfd released this 20 May 18:57
· 34 commits to master since this release

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