Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Exit event firing multiple times #46

Open
suraj740 opened this issue Sep 26, 2021 · 0 comments
Open

Exit event firing multiple times #46

suraj740 opened this issue Sep 26, 2021 · 0 comments

Comments

@suraj740
Copy link

suraj740 commented Sep 26, 2021

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!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant