bkonyi / FlutterGeofencing

Rough work for Flutter geofencing plugin
BSD 3-Clause "New" or "Revised" License
337 stars 219 forks source link

[Android]: GeofenceEvent.exit called upon creation of geofence even when user is not close to geofence #54

Closed elouiestudent closed 4 years ago

elouiestudent commented 4 years ago

Upon initialization of geofences, the callback is always called for every geofence initially with the event GeofenceEvent.exit, even though the user did not exit or enter the geofence.

elouiestudent commented 4 years ago

The initial callbacks are from the initial trigger settings. Removing the trigger settings fixes this.