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

Exit event firing multiple times #46

@suraj740

Description

@suraj740

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions