Skip to content

Shreyas1

shreyas singireddy requested to merge shreyas1 into main

Description

This update adds advanced safety and emergency features to the project.

It includes live user location tracking, allowing the app to capture and update the user’s current location in real time and show it on the map.

A new Guardian / Emergency Contact system is added so users can save trusted contacts. During emergencies, alerts can be sent to guardians with the user’s location, emergency type, and time.

A User Settings page is added where users can manage safety preferences such as default safety mode, emergency message, SOS alert options, location sharing, and privacy settings.

An Admin / Police Verification system is added for reviewing user reports. Reports can now be marked as pending, verified, rejected, or under review. Verified reports will have stronger impact on safety risk scoring.

A dedicated Women SOS feature is added. When clicked, it immediately fetches the user’s live location and sends emergency alerts to guardians, nearby registered police, and nearby trusted/community users.

A Nearby People Alert system is added to notify nearby active users when an emergency happens, while protecting the victim’s private details.

A new Police Registration section is added where local police can register with station details, badge ID, location, and jurisdiction radius.

A Police Dashboard is added so verified police users can view nearby active SOS cases, user location, emergency details, and update case status such as received, on the way, resolved, or false alarm.

The database is updated with new models/tables for user preferences, guardians, SOS events, police users, report verification, notifications, and nearby alerts.

The UI is improved with new pages, modern emergency buttons, map markers, responsive layouts, success/error messages, and safer user flows.

Security and privacy improvements are added, including role-based access, input validation, restricted emergency detail sharing, location permission handling, and fallback mock notification services when SMS/email APIs are not configured.

Merge request reports

Loading