location based notifications

How would you go about sending a notification based on a user's location...and can we take what we learned with google maps and apply it here (just with more steps)?

Posted over 4 years ago by Matt
Posted over 4 years ago by Alex Yang

You should be able to use the user's IP address in combination with a gem like geocoder (https://github.com/alexreisner/geocoder) to identify the user's location. Once you have the location, you can incorporate Google Maps however you like.

1
Posted over 4 years ago by Matt

THANK YOU...how would you then go about sending a notification?

1
Posted over 4 years ago by Alex Yang

It really depends on the type of notification - you could send email notifications, flash messages, etc.

1