Closed notimre closed 4 months ago
Relevant #168
This should be in the existing code base under scheduledDolfinNotifiationFunction
Madeleine highlighted further problems on the issue: Relevant #178
Quoting her: Switch from daily to weekly (items 6 and 8 on the attached)
On the day the app switches from daily to weekly (day 28), it asks the user to fill in a weekly report relating to the last seven days (i.e. days 21 to 28). The user will previously have filled in a daily questionnaire about each of these, so they are being asked to provide information on them twice. Our understanding was that when the app switches from daily to weekly, it doesn’t ask for a weekly report until the end of the first week (so, with the new timing of the switch, it should ask for the first weekly report on day 34). We thought that this functionality was in place in the current live version of the app but it has been a long time since the original development/validation – can you let us know your thoughts?
We think we have not been receiving the notification that the switch has occurred – I had set up multiple parent profiles on the app and am generally receiving notifications for all of them, but for at least one of these profiles I did not receive the notification confirming the switch. I appreciate the app is not set up for one device with multiple profiles. I’m happy to look more closely into this in the next round of testing
The user’s profile remains set on daily reminders when the switch to weekly reporting happens. Would it be possible to have it switched to weekly reminders when the switch occurs? We appreciate we didn’t previously raise this with you
Scheduled notification function works as expected:
Day 27 - please fill out daily form Day 28 - notification saying I will get weekly notifications unless opted into daily. Daily notifications flag in database changes to false. However, this is not reflected in the settings section of the app so create issue to fix this. Day 29 - daily reminder for giving supplement (when opted in), nothing (opted out) Day 35 - weekly reminder for form
Check child function: Days up to 28 should show dailies - correct Days 28-34 should show no forms - correct Day 35 should show weekly - correct Day 365 onwards should end??
Behaviour above all correct
Goals
The user is aware of them having to report less frequently.
Results
On the day the app switches from daily to weekly reporting, the user receives a push notification to confirm this. "From now on, the DOLFIN app will ask you to report once a week (instead of every day) how many times you have given your baby the supplement during the week. Please continue giving the supplement each day."
Update behaviour from:
The user is not explicitly informed that the app has switched from daily to weekly reporting