MORE-Platform / more-app-multiplatform

The mobile application for the MORE platform.
https://more-health.at
Other
6 stars 1 forks source link

Error in Notification when Observations (limesurvey and simple questioners) are triggered as a result of an Intervention #197

Closed alireza-dhp closed 10 months ago

alireza-dhp commented 11 months ago

When an observation is triggered as a result of an intervention, it disappears from the Notification tab upon opening it once, even when it has not being completed.

Also, the notification message containing the observation become sometimes non clickable (randomly) when they appear under notification tab.

Further lime survey set an an action inside an intervention some time does not work. this behavior is random.

Ideally the notification containing the observation should become inactive in the Notification tab only when it has being completed.

andresgruber commented 11 months ago

Fixed with version 2.4.0 for both, Android and iOS.

The intended behavior for all notifications (with or without deep link) is implemented as follows:

  1. New notifications appear on the device as system notification AND in the notification tab (unread).
  2. A click either on the system message OR in the notification tab triggers the according action.
  3. After completing the action, the notification disappears from the system AND gets marked as read in the notification tab, so it is not possible to navigate to the action page twice.