Closed alireza-dhp closed 4 months ago
Dear @andresgruber
To simulate the bug where notifications in the notification center (NC) are missed on both platforms, follow these steps:
It seems that all push notification messages are missed in the NC after a study is paused until the app is opened for the first time.
Hi @alireza-dhp - thank you, finally we can reproduce this case. We suggest to not deleting the notifications in case of a study update. This will solve this case. The only downside would be, a participant might have an notification in his tab which is not more functional e.g. because a corresponding target observation has been removed during pausing the study.
Hi @andresgruber,
I don’t think this would be a suitable workaround, as the previous action notifications could result in filling out an unrelated observation after updating a study.
Then this edge-case of loosing a notification cannot be solved, because the moment you open the app (not before) it gets the new study configuration and all notifications before this moment will be removed as you request.
Regarding our discussion at 4th sprint closing meeting, it would be acceptable to keep notifications when a study is updated, as previous action notifications with unrelated observations would no longer serve their function due to being unobservable for participants.
Originally posted by @alireza-dhp in #251
The study config file is enclosed. study_config_8.json