v.1.6.0
- fixed crash on React Native v0.60+ when using
currentLocation
. - updated examples in the readme
If you want to use currentLocation
and you are targeting React Native 0.60.0+ you must install either @react-native-community/geolocation
(link) or react-native-geolocation-service
(link). You must then set navigator.geolocation = require('SOME_GEOLOCATION_LIBRARY')
somewhere in your app.