Closed tharakanwn2014 closed 3 years ago
There is no built-in method for this. I suggest you listen to event onGeofencesChange
to receive the list of currently monitored geofences (max 20 for iOS; 100 for Android). Iterate through this list and calculate distance yourself.
ok thank you
Your Environment
react-native -v
):0.63.4Expected Behavior
Actual Behavior
Steps to Reproduce
1. 2. 3. 4.
Context
Is there a way to get the distance to the closest geofence with the plugin?
Debug logs
Logs
``` PASTE_YOUR_LOGS_HERE ```