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

Implemented an Emergency SOS Feature #815

Merged
merged 4 commits into from
Oct 18, 2024
Merged

Conversation

avisha191
Copy link
Contributor

@avisha191 avisha191 commented Oct 16, 2024

Related Issue

“None”

Fixes: #(issue no.)

Description

How It Works:
Geolocation API: When the user clicks the SOS button, the app tries to get their location using the Geolocation API. This works only if the user grants permission to share their location.
Sharing Options: After getting the location, the user can choose to send an email or SMS with their current location to their emergency contacts. The JavaScript code generates a pre-written message with the location embedded.

#814

Type of PR

  • Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): _______________

Screenshots / videos (if applicable)

[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Screenshot (416)
Please assign under level 2

Checklist:

  • I have made this change from my own.
  • I have taken help from some online resources.
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have tested the changes thoroughly before submitting this pull request.
  • I have provided relevant issue numbers and screenshots after making the changes.

Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
buddy-trail ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 11:00am

Copy link
Contributor

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our contributing.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

netlify bot commented Oct 16, 2024

Deploy Preview for buddytrail ready!

Name Link
🔨 Latest commit ed4fd93
🔍 Latest deploy log https://app.netlify.com/sites/buddytrail/deploys/670f9cb8c3493900085f0eeb
😎 Deploy Preview https://deploy-preview-815--buddytrail.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@PriyaGhosal
Copy link
Owner

@avisha191 What is the use of it in our website ... can you tell me its pros

@PriyaGhosal
Copy link
Owner

@avisha191 Reply

@avisha191
Copy link
Contributor Author

avisha191 commented Oct 18, 2024 via email

@PriyaGhosal PriyaGhosal merged commit 0307104 into PriyaGhosal:main Oct 18, 2024
6 checks passed
@PriyaGhosal
Copy link
Owner

@avisha191 Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution ! 🎉

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

Successfully merging this pull request may close these issues.

2 participants