rilling / OSMDashboard-Winter-2024-COMP-354

OpenStreetMaps Dashboard for OpenTracks
https://f-droid.org/de/packages/de.storchp.opentracks.osmplugin/
Apache License 2.0
5 stars 10 forks source link

Send a notification to the user when a friend is currently in the same resort #27

Open JenniferHann opened 6 months ago

JenniferHann commented 6 months ago

Description: When a friend of the user is in the resort, the user will get a notification that said friend is also in the same resort as them.

Expected Outcome: Upon arriving at the resort, the application will scan through the user's friend list to see if any of their locations are in the same resort as them. If they are, the application will send a notification to the user to notify them. This will periodically do a scan to see if new friends have arrived at the same resort.

Alternative Solutions: Only when the application is open and running that the application can verify if the location of their friends are in the same resort as the user. Only then can the application send a notification.

Verification: Have a few friends already arrive at the location before the user to see if the user gets a notification for each friend. Also, have a few more friends arrive later than the user to see if the user gets the notification for the new arrivals.

JenniferHann commented 5 months ago

Added base code for the notification

JenniferHann commented 5 months ago

Refine code and simulated separate user class