Closed smeddinck closed 4 months ago
@smeddinck, @alireza-dhp : the proposed feature is not yet specified in a way that one can start implementing it. The following questions may help you to refine the feature:
Dear @andresgruber,
We suggest enabling clickable URLs in the Notification tab for improved functionality. Upon tapping a push notification,please ensure that it directs users to the Notification tab instead of the Dashboard tab.
- Will such a message contain title, body and (new) a link as a separate field in the API and in the study manager or would it be sufficient to use the body field and let the app grasp, whether its an uri to deal with? (This would be the most simple approach).
The simplest approach would suffice for now.
- What validation of the links are requested? Just the protocols http: and app: ?
Validating http(s) links would be sufficient, and the implementation of opening an app (Deep links) may be explored for future development.
- Is this notification separate from the simple push notification and the action notification, is it a third type of notification?
It's simply an enhancement to the existing simple push notification, providing a clickable URL in the body text.
- Do you expect a data point for further evaluation, whether a participant has clicked on the notification?
At this stage, participant interaction data isn't necessary.
Requirements and Decision (2024/04/10): Simple push notification should open the notification in the notification tab, then the link should active and clickable (http(s) links) only.
Enhancing the notification messages shows to be tricky on iOS <15
.
After discussing with @janoliver20 we suggest the following approach:
iOS 15+
iOS <15
we will keep the plain-text view (as it is now) - this affects less than 4% of all iOS devicesFor iOS <=14, is it possible to copy a portion of the plain text (copy the link)?
e.g. with media or app links both in the notification area of the phone os (if possibly) and in the MORE app (certainly)