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

Implement Dwell/Visit events #32

Open
nmussy opened this issue Jun 4, 2019 · 1 comment
Open

Implement Dwell/Visit events #32

nmussy opened this issue Jun 4, 2019 · 1 comment

Comments

@nmussy
Copy link
Contributor

nmussy commented Jun 4, 2019

It'd be nice to have access to information about longer stays. Android reports it via another event, DWELL events. iOS uses another API however, CLVisit.

Android and iOS also handle throttling differently. Android sets a loiteringDelay on initialization, while iOS reports the duration via the arrivalDate and departuredate properties.

@doriclaudino
Copy link

I add this feature on my local branch, but I figure out a simple way:
1 - define how long user must stay on "boundary" after entering to dispatch the dwell.
2 - if your time reach before user exit the "boundary" is your dwell

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

2 participants