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

When a stolen bike QR code is scanned, send alert #1240

Open
sethherr opened this issue Sep 9, 2019 · 1 comment
Open

When a stolen bike QR code is scanned, send alert #1240

sethherr opened this issue Sep 9, 2019 · 1 comment
Labels

Comments

@sethherr
Copy link
Member

sethherr commented Sep 9, 2019

When a bike marked stolen has its QR code scanned, send a geolocated message to the owner.

@sethherr
Copy link
Member Author

sethherr commented Sep 9, 2019

Way I can see to add this functionality, trying to get the location but still sending an email (perhaps including the user's ip address?) if we don't manage to get the location:

  • If it's scanned, enqueue an email in a minute or two. If in a minute or two, when the job runs, we haven't sent an email about the bike recently, send the email
  • Ask the user for location permission when the page loads
  • If we get geolocated permission, send an email (silently, in the background via API or something)

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

No branches or pull requests

1 participant