Mobile app notifications
Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Mobile app notifications.
Types of notification
The Moodle Mobile app has two types of notifications: local and push.
Local notifications are Moodle calendar event notifications only.
Local notifications are enabled by default and you don't have to configure anything. Every time you open the Moodle Mobile app, events are re-synchronized and old events are deleted. Note that groups events are not yet supported.
Local notifications may be disabled in the app via Settings > General or individually for each event via the 'Calendar events' option in the main menu.
Push notifications need to be enabled by a site administrator and configured by users in their messaging profile settings (Administration > My profile settings > Messaging).
Enabling push notifications
Note: If your Moodle installation is 2.6 or below, you will need to install the Mobile notifications plugin. For Moodle 2.7 and onwards you just need to enable the plugin. For Moodle versions 2.4 and 2.5 the Moodle Mobile additional features plugin must also be installed. (See note marked * below.)
Push notifications can be enabled by an administrator by connecting their Moodle site to a messaging server such https://messages.moodle.net (available for registered Moodle sites only). An access key can be obtained via Administration > Site administration > Plugins > Message outputs > Mobile Notifications. (If you have problems requesting the access key, please fill in the Airnotifier access key manual request form. Your site registration will be checked and you will be sent an access key in a few days if everything is correct.)
Users then need to connect at least once with the latest version of the Moodle Mobile app in order to register their phones with the Moodle site.
* Only for Moodle from 2.7 and onwards: If you upgrade your Moodle installation, you will have to reinstall the plugin since it adds a couple of functions to the core Moodle Mobile service. See https://tracker.moodle.org/browse/MDLSITE-2815?focusedCommentId=273741&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-27374 for more information.
Event Reminders plugin
Push notifications can also include calendar event notifications, however this requires the Event Reminders plugin to be installed on the Moodle site.
The Event Reminders plugin will automatically send reminders for Moodle calendar events in a timely manner via Moodle message interface. It also allows users to control how they receive messages for each type of event in the Moodle calendar.
Installing your own notifications infrastructure
If you have a customized version of the Moodle Mobile app, or you want to use your own notifications infrastructure, you will have to install a private AirNotifier (backend server for notifications).
https://messages.moodle.net uses a slightly modified version of Airnotifier: https://github.com/moodlehq/airnotifier/tree/moodle2.
You will have to add your app certificates - see https://github.com/airnotifier/airnotifier/wiki/Installation for further information.
The Airnotifier message plugin allows you to point to your custom Airnotifier instance using your own access keys.
Remember to install using GIT (repository https://github.com/moodlehq/airnotifier.git branch moodle2).