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

Notification System of Dangerous Incidents to User #29

Open
yaswant2403 opened this issue Dec 2, 2024 · 0 comments
Open

Notification System of Dangerous Incidents to User #29

yaswant2403 opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
add_incident Add Incident Screen

Comments

@yaswant2403
Copy link
Collaborator

yaswant2403 commented Dec 2, 2024

Features

  • Users get notifications of the incidents closest (within a set radius) to their current location that have high severity and happened within the past 6 hours.
  • When the user clicks on the notification, take them to the corresponding Marker

Setup

The eas-config branch has the example code for setting up a basic push notification system. In order to run it yourself,
you need to follow the below steps:

  1. Make an account on https://expo.dev/ and DM me your email that you registered with so I can add you to the organization. You should be able to access https://expo.dev/accounts/fa24-group21/projects/SafeIllini after you've been added.
  2. npm install -g eas-cli
  3. eas -v (verfiy eas has been installed)
  4. eas login with expo account details
  5. eas whoami (verify your account is outputted)

Then, you should be able to run npx expo start regularly to launch the app and test out the push notifications. If you want to see how the eas-config branch merges into the main branch code, you can check out the main branch. However, the main branch still doesn't integrate the notifications with the incidents. That will be your task.

Potentially Useful Resources

@yaswant2403 yaswant2403 added the add_incident Add Incident Screen label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add_incident Add Incident Screen
Projects
None yet
Development

No branches or pull requests

2 participants