-
Improvement
-
Resolution: Fixed
-
Minor
-
1.4.4
-
MOODLE_14_STABLE
-
MOODLE_18_STABLE
Currently, the message_airnotifier plugin creates a different payload (message format) depending on the device platform ( iOs or Android).
This has several problems:
- If iOs or Android changes the payload format we have to patch that code and force admins to upgrade their Moodle installations to use the latest message_airnotifier version
- If we want to add a new platform (firefoxos, Windows 8, Windows Phone 8) we need also to upgrade the plugin and Moodle installations
The solution is that the message_airnotifier plugin must send all the message data (the full message object) to Airnotifier. Airnotifier has to process that message object and depending the target device platform create a custom payload.
We need some changes in:
- Plugin: For making the code more "simple" and maintainable. Moodle has to send the full message to Airnotifier
- Airnotifier: Add support to "message formatters" plugins or something like that, because Moodle will requiere specific formatting of the message. Airnotifier installation should add basic "message formatters" plugins and we can create the custom ones for Moodle.
The benefit is that if we need to update or add new platforms we have to make changes only in the Airnotifier "message formatters"
- will be (partly) resolved by
-
MDL-47163 Upgrade the Mobile notifications plugin to use Airnotifier API v2
-
- Closed
-