Skip to content

Not getting notifications, StayedInThresholdDuration not working properly #32

@rajuskvt

Description

@rajuskvt

Not getting notifications, StayedInThresholdDuration not working properly

Entry and OnStay methods hitting at the same time check below code please

CrossGeofence.Current.StartMonitoring(new GeofenceCircularRegion("My Region", 10.8505, 76.2711, 52220)
{
//To get notified if user stays in region for at least 5 minutes
NotifyOnStay = true,
NotificationEntryMessage="New food venue located",
NotificationStayMessage="Hey john new beverage with same price.",
NotificationExitMessage="Thanks for visiting",
StayedInThresholdDuration = TimeSpan.FromMinutes(5),
ShowNotification=true
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions