react-native-expo-geofence
Geofence library for react native, compatible with expo.
Works on iOS and Android.
Getting started
$ npm install react-native-expo-geofence --save
Expo example
Usage
; var points = latitude: -23658739 longitude: -46666305 latitude: -23651814 longitude: -46664129 var startPoint = latitude: -23652508 longitude: -46661474 var maxDistanceInKM = 05; // 500m distance // startPoint - center of perimeter // points - array of points // maxDistanceInKM - max point distance from startPoint in KM's // result - array of points inside the max distance var result = Geofence; // You can access distance of this object in distanceInKM property var distance = result0distanceInKM;