-
Improvement
-
Resolution: Done
-
Minor
-
3.6.1
-
-
MOODLE_36_STABLE
-
MOODLE_37_STABLE
-
Moodle App 3.7.0
Since Moodle 3.7 we'll have a new "customdata" structure coming with any notification.
It will be good if site plugins can indicate via a field "appurl" a link that can be treated by the app so the user is correctly redirected to an app page when he clicks on a Push notification.
Notifications already comes with a contexturl but most of the time won't work because the way the links are generated not always works in the app, so the approach will be:
- Check if customdata->appurl is set and redirect when the user clicks on a Notification
- If customdata->appurl is not set, try to redirect to the contexturl
- If customdata->appurl is not set and there is not link handler for contexturl redirect to the standard Notifications page
- is duplicated by
-
MOBILE-2971 Support push notification clicks for site plugins
- Closed