Exit event firing multiple times
Opened this issue · 0 comments
suraj740 commented
Hi @DwayneCoussement I am listening to multiple coordinates by looping
Geolocation(
latitude: 11.4708305,
longitude: 36.800271,
radius: 200),
id: 1);
Entry is working fine.
But Exit event is firing multiple times, if user has not entered then also sometimes without entry event, exit is firing.
Geofence.startListening(GeolocationEvent.exit, (exit) {
debugPrint("Exit of a geo region Welcome to: ${exit.id}");
// NotificationService.showSimpleNotification(
// '', "Thank you for visiting: ${entry.id}");
NotificationService.showSimpleNotification(
"thank you",
});
Any help would be appreciated!!