-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Phone Charge Notification #51
Conversation
.alert("Keep Your Phone Plugged In", isPresented: $showChargingReminder) { | ||
Button("OK", role: .cancel) {} | ||
} message: { | ||
Text("For accurate cough tracking throughout the night, please keep your phone plugged in and charging.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the message to ask user to keep phone close to their bed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor wording change needed.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #51 +/- ##
==========================================
+ Coverage 60.96% 60.98% +0.02%
==========================================
Files 36 36
Lines 2031 2037 +6
==========================================
+ Hits 1238 1242 +4
- Misses 793 795 +2
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Name of the PR
♻️ Current situation & Problem
Currently, the CoughSync app does not provide a reminder for users to keep their phone plugged in while running nighttime cough detection. Since continuous tracking can drain battery life, users might experience interruptions if their device runs out of charge overnight.
This PR introduces a notification pop-up that appears when the user starts cough detection, reminding them to keep their phone plugged in.
⚙️ Release Notes
✅ Testing
N/A
📝 Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: