Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting notifications, StayedInThresholdDuration not working properly #32

Open
rajuskvt opened this issue May 12, 2020 · 0 comments

Comments

@rajuskvt
Copy link

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
});

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

No branches or pull requests

1 participant