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

Issue 104 #106

Merged
merged 1 commit into from
Nov 5, 2021
Merged

Issue 104 #106

merged 1 commit into from
Nov 5, 2021

Conversation

BobEvans
Copy link
Collaborator

@BobEvans BobEvans commented Nov 4, 2021

Fixes #104

survey page looked for pending alarms and took first one but this allowed uncleaned up but expired alarms to be chosen for the scheduleTime field. Now ignoring expired alarms.

@rundong08 rundong08 changed the base branch from develop to issue_102 November 5, 2021 22:47
@rundong08 rundong08 changed the base branch from issue_102 to develop November 5, 2021 22:47
@rundong08
Copy link
Collaborator

What would happen if one clicked the notification near the expiration time, and then, when the survey is submitted the alarm got expired? Will the survey not being submitted?

@BobEvans
Copy link
Collaborator Author

BobEvans commented Nov 5, 2021

What would happen if one clicked the notification near the expiration time, and then, when the survey is submitted the alarm got expired? Will the survey not being submitted?

It would get reported as a self-report.

@rundong08
Copy link
Collaborator

It would get reported as a self-report.

I see, thanks!

@BobEvans
Copy link
Collaborator Author

BobEvans commented Nov 5, 2021

Also, there would be a missed response registered when it expired so the researcher could see how late they were.

Alternatively, ideally, we could pass the time in the notification to the launch of the app. This is how it worked at one point on android.

@rundong08 rundong08 merged commit 9ce9d22 into develop Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macos triggered survey scheduledTime value is inaccurate
2 participants